Exception: Isaca::AttributeError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Isaca::AttributeError
- Defined in:
- lib/isaca/attribute_error.rb
Instance Method Summary collapse
-
#initialize(attribute, klass, hash) ⇒ AttributeError
constructor
A new instance of AttributeError.
Constructor Details
#initialize(attribute, klass, hash) ⇒ AttributeError
Returns a new instance of AttributeError.
3 4 5 |
# File 'lib/isaca/attribute_error.rb', line 3 def initialize(attribute, klass, hash) super("Missing required attribute #{attribute.to_s} for #{klass}. Hash keys: #{hash.keys}") end |