Exception: Isaca::AttributeError

Inherits:
ServiceError show all
Defined in:
lib/isaca/attribute_error.rb

Instance Method Summary collapse

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