Exception: NdrImport::Helpers::File::XmlStreaming::NestingError
- Inherits:
-
Error
- Object
- StandardError
- Error
- NdrImport::Helpers::File::XmlStreaming::NestingError
- Defined in:
- lib/ndr_import/helpers/file/xml_streaming.rb
Overview
Raised if nested tags are accounted which the streaming approach cannnot handle.
Instance Method Summary collapse
-
#initialize(node) ⇒ NestingError
constructor
A new instance of NestingError.
Constructor Details
#initialize(node) ⇒ NestingError
Returns a new instance of NestingError.
22 23 24 25 26 27 |
# File 'lib/ndr_import/helpers/file/xml_streaming.rb', line 22 def initialize(node) super <<~STR Element '#{node.name}' was found nested inside another of the same type. This is not accessible, and a known limitation of XmlStreaming. STR end |