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
Constructor Details
#initialize(class_name) ⇒ UnmappedRubyTypeError
Returns a new instance of UnmappedRubyTypeError.
161 162 163 |
# File 'lib/saxon/item_type.rb', line 161 def initialize(class_name) @class_name = class_name end |
Instance Method Details
#to_s ⇒ Object
165 166 167 |
# File 'lib/saxon/item_type.rb', line 165 def to_s "Ruby class <#{@class_name}> has no XDM type equivalent" end |