Exception: Saxon::ItemType::UnmappedRubyTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- Saxon::ItemType::UnmappedRubyTypeError
- Defined in:
- lib/saxon/item_type.rb
Overview
Error raised when a Ruby class has no equivalent XDM type to be converted into
Instance Method Summary collapse
-
#initialize(class_name) ⇒ UnmappedRubyTypeError
constructor
A new instance of UnmappedRubyTypeError.
-
#to_s ⇒ Object
error message including class name no type equivalent found for.
Constructor Details
#initialize(class_name) ⇒ UnmappedRubyTypeError
Returns a new instance of UnmappedRubyTypeError.
53 54 55 |
# File 'lib/saxon/item_type.rb', line 53 def initialize(class_name) @class_name = class_name end |
Instance Method Details
#to_s ⇒ Object
error message including class name no type equivalent found for
58 59 60 |
# File 'lib/saxon/item_type.rb', line 58 def to_s "Ruby class <#{@class_name}> has no XDM type equivalent" end |