Exception: Humidifier::Config::Mapper::InvalidResourceAttributeError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Humidifier::Config::Mapper::InvalidResourceAttributeError
- Defined in:
- lib/humidifier/config/mapper.rb
Overview
Raised when the attribute given in the file could not be matched to an attribute in the mapper.
Instance Method Summary collapse
-
#initialize(clazz, key) ⇒ InvalidResourceAttributeError
constructor
A new instance of InvalidResourceAttributeError.
Constructor Details
#initialize(clazz, key) ⇒ InvalidResourceAttributeError
Returns a new instance of InvalidResourceAttributeError.
14 15 16 |
# File 'lib/humidifier/config/mapper.rb', line 14 def initialize(clazz, key) super("Invalid attribute name given for #{clazz.aws_name}: #{key}") end |