Exception: Aws::Templates::ParameterException
- Defined in:
- lib/aws/templates/exceptions.rb
Overview
Parameter exception
Happens during runtime if an error happens during parameter evaluation
Direct Known Subclasses
NestedParameterException, ParameterGetterIsNotDefined, ParameterValueInvalid
Instance Attribute Summary collapse
-
#parameter ⇒ Object
readonly
Parameter object.
Instance Method Summary collapse
-
#initialize(target_parameter, custom_message) ⇒ ParameterException
constructor
A new instance of ParameterException.
- #message ⇒ Object
Constructor Details
#initialize(target_parameter, custom_message) ⇒ ParameterException
Returns a new instance of ParameterException.
103 104 105 106 |
# File 'lib/aws/templates/exceptions.rb', line 103 def initialize(target_parameter, ) @parameter = target_parameter super() end |
Instance Attribute Details
#parameter ⇒ Object (readonly)
Parameter object
97 98 99 |
# File 'lib/aws/templates/exceptions.rb', line 97 def parameter @parameter end |
Instance Method Details
#message ⇒ Object
99 100 101 |
# File 'lib/aws/templates/exceptions.rb', line 99 def cause.nil? ? super : "#{super} : #{cause.}" end |