Exception: ConfigMapper::MappingError
- Inherits:
-
StandardError
- Object
- StandardError
- ConfigMapper::MappingError
- Defined in:
- lib/config_mapper/mapping_error.rb
Overview
Thrown to indicate a problem parsing config.
Instance Attribute Summary collapse
-
#errors_by_field ⇒ Object
readonly
Returns the value of attribute errors_by_field.
Instance Method Summary collapse
-
#initialize(errors_by_field) ⇒ MappingError
constructor
A new instance of MappingError.
Constructor Details
#initialize(errors_by_field) ⇒ MappingError
Returns a new instance of MappingError.
9 10 11 12 |
# File 'lib/config_mapper/mapping_error.rb', line 9 def initialize(errors_by_field) @errors_by_field = errors_by_field super() end |
Instance Attribute Details
#errors_by_field ⇒ Object (readonly)
Returns the value of attribute errors_by_field.
14 15 16 |
# File 'lib/config_mapper/mapping_error.rb', line 14 def errors_by_field @errors_by_field end |