Exception: Inferno::Exceptions::InvalidAttributeException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/inferno/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(attribute, klass, message) ⇒ InvalidAttributeException

Returns a new instance of InvalidAttributeException.



106
107
108
# File 'lib/inferno/exceptions.rb', line 106

def initialize(attribute, klass, message)
  super("Invalid attribute '#{attribute}' for #{klass.name}: #{message}")
end