Exception: DatasetRecord::DarwinCore::InvalidData
- Inherits:
-
StandardError
- Object
- StandardError
- DatasetRecord::DarwinCore::InvalidData
- Defined in:
- app/models/dataset_record/darwin_core.rb
Overview
self.abstract_class = true # TODO: No known problems, but commented since ImportDataset::DarwinCore also has it commented. Review.
Instance Attribute Summary collapse
-
#error_data ⇒ Object
Returns the value of attribute error_data.
Instance Method Summary collapse
-
#initialize(error_data) ⇒ InvalidData
constructor
A new instance of InvalidData.
Constructor Details
#initialize(error_data) ⇒ InvalidData
Returns a new instance of InvalidData.
7 8 9 10 |
# File 'app/models/dataset_record/darwin_core.rb', line 7 def initialize(error_data) super('Invalid data') self.error_data = error_data end |
Instance Attribute Details
#error_data ⇒ Object
Returns the value of attribute error_data.
5 6 7 |
# File 'app/models/dataset_record/darwin_core.rb', line 5 def error_data @error_data end |