Exception: Aws::Templates::Exception::ParameterGetterIsNotDefined
- Inherits:
-
ParameterException
- Object
- RuntimeError
- ParameterException
- Aws::Templates::Exception::ParameterGetterIsNotDefined
- Defined in:
- lib/aws/templates/exception/parameter_getter_is_not_defined.rb
Overview
Getter is not specified
Getter wasn’t specified neither for the individual parameter nor for the mixing instance nor for its class.
Instance Attribute Summary
Attributes inherited from ParameterException
Instance Method Summary collapse
-
#initialize(target_parameter) ⇒ ParameterGetterIsNotDefined
constructor
A new instance of ParameterGetterIsNotDefined.
Methods inherited from ParameterException
Constructor Details
#initialize(target_parameter) ⇒ ParameterGetterIsNotDefined
Returns a new instance of ParameterGetterIsNotDefined.
12 13 14 15 16 17 18 19 |
# File 'lib/aws/templates/exception/parameter_getter_is_not_defined.rb', line 12 def initialize(target_parameter) super( target_parameter, "Can't find getter for #{target_parameter.name} (#{target_parameter.description}): " \ 'a getter should be attached either to the parameter or the instance ' \ 'or the instance class' ) end |