Exception: NdrImport::Xml::UnmappedXpathError
- Inherits:
-
StandardError
- Object
- StandardError
- NdrImport::Xml::UnmappedXpathError
- Defined in:
- lib/ndr_import/xml/unmapped_xpath_error.rb
Overview
Raised if an unmapped xpath is identified
Instance Attribute Summary collapse
-
#missing_xpaths ⇒ Object
readonly
Returns the value of attribute missing_xpaths.
Instance Method Summary collapse
-
#initialize(missing_xpaths) ⇒ UnmappedXpathError
constructor
A new instance of UnmappedXpathError.
Constructor Details
#initialize(missing_xpaths) ⇒ UnmappedXpathError
Returns a new instance of UnmappedXpathError.
7 8 9 10 11 12 |
# File 'lib/ndr_import/xml/unmapped_xpath_error.rb', line 7 def initialize(missing_xpaths) @missing_xpaths = missing_xpaths = "Unmapped xpath(s): #{missing_xpaths}" super() end |
Instance Attribute Details
#missing_xpaths ⇒ Object (readonly)
Returns the value of attribute missing_xpaths.
5 6 7 |
# File 'lib/ndr_import/xml/unmapped_xpath_error.rb', line 5 def missing_xpaths @missing_xpaths end |