Exception: Aws::Templates::ParameterGetterIsNotDefined

Inherits:
ParameterException show all
Defined in:
lib/aws/templates/exceptions.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

#parameter

Instance Method Summary collapse

Methods inherited from ParameterException

#message

Constructor Details

#initialize(target_parameter) ⇒ ParameterGetterIsNotDefined

Returns a new instance of ParameterGetterIsNotDefined.



157
158
159
160
161
162
163
164
# File 'lib/aws/templates/exceptions.rb', line 157

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