Exception: ACH::Component::UnknownAttributeError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ACH::Component::UnknownAttributeError
- Defined in:
- lib/ach/component.rb
Overview
Exception raised on attempt to assign a value to nonexistent field.
Instance Method Summary collapse
-
#initialize(field, obj) ⇒ UnknownAttributeError
constructor
Initialize error with field and component.
Constructor Details
#initialize(field, obj) ⇒ UnknownAttributeError
Initialize error with field and component.
26 27 28 |
# File 'lib/ach/component.rb', line 26 def initialize(field, obj) super "Unrecognized attribute '#{field}' for #{obj}" end |