Exception: NdrImport::UnmappedDataError
- Inherits:
-
StandardError
- Object
- StandardError
- NdrImport::UnmappedDataError
- Defined in:
- lib/ndr_import/unmapped_data_error.rb
Overview
Raised if incoming data has not been mapped.
Instance Attribute Summary collapse
-
#keys ⇒ Object
readonly
Returns the value of attribute keys.
Instance Method Summary collapse
-
#initialize(keys) ⇒ UnmappedDataError
constructor
A new instance of UnmappedDataError.
Constructor Details
#initialize(keys) ⇒ UnmappedDataError
Returns a new instance of UnmappedDataError.
8 9 10 11 12 |
# File 'lib/ndr_import/unmapped_data_error.rb', line 8 def initialize(keys) @keys = keys = "Unmapped data: #{keys.to_sentence}" super() end |
Instance Attribute Details
#keys ⇒ Object (readonly)
Returns the value of attribute keys.
6 7 8 |
# File 'lib/ndr_import/unmapped_data_error.rb', line 6 def keys @keys end |