Exception: Saxon::ItemType::UnmappedXSDTypeNameError
- Inherits:
-
StandardError
- Object
- StandardError
- Saxon::ItemType::UnmappedXSDTypeNameError
- Defined in:
- lib/saxon/item_type.rb
Overview
Error raise when an attempt to reify an xs:* type string is made, but the type string doesn’t match any of the built-in xs:* types
Instance Method Summary collapse
-
#initialize(type_str) ⇒ UnmappedXSDTypeNameError
constructor
A new instance of UnmappedXSDTypeNameError.
- #to_s ⇒ Object
Constructor Details
#initialize(type_str) ⇒ UnmappedXSDTypeNameError
Returns a new instance of UnmappedXSDTypeNameError.
174 175 176 |
# File 'lib/saxon/item_type.rb', line 174 def initialize(type_str) @type_str = type_str end |
Instance Method Details
#to_s ⇒ Object
178 179 180 |
# File 'lib/saxon/item_type.rb', line 178 def to_s "'#{@type_str}' is not recognised as an XSD built-in type" end |