Exception: ACH::Component::UnknownAttributeError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/ach/component.rb

Overview

Exception raised on attempt to assign a value to nonexistent field.

Instance Method Summary collapse

Constructor Details

#initialize(field, obj) ⇒ UnknownAttributeError

Initialize error with field and component.

Parameters:



26
27
28
# File 'lib/ach/component.rb', line 26

def initialize(field, obj)
  super "Unrecognized attribute '#{field}' for #{obj}"
end