Method: Aws::Templates::Exception::NestedParameterException#initialize

Defined in:
lib/aws/templates/exception/nested_parameter_exception.rb

#initialize(target_parameter) ⇒ NestedParameterException

Returns a new instance of NestedParameterException.



9
10
11
12
13
14
15
# File 'lib/aws/templates/exception/nested_parameter_exception.rb', line 9

def initialize(target_parameter)
  super(
    target_parameter,
    'Exception was thrown by nested parameter while calculating ' \
      "#{target_parameter.name} (#{target_parameter.description})"
  )
end