Exception: Inferno::Exceptions::InvalidAttributeException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Inferno::Exceptions::InvalidAttributeException
- Defined in:
- lib/inferno/exceptions.rb
Instance Method Summary collapse
-
#initialize(attribute, klass, message) ⇒ InvalidAttributeException
constructor
A new instance of InvalidAttributeException.
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, ) super("Invalid attribute '#{attribute}' for #{klass.name}: #{}") end |