Exception: Saxon::ItemType::UnmappedRubyTypeError

Inherits:
StandardError
  • Object
show all
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

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_sObject



165
166
167
# File 'lib/saxon/item_type.rb', line 165

def to_s
  "Ruby class <#{@class_name}> has no XDM type equivalent"
end