Exception: Aws::Templates::Exception::NestedParameterException

Inherits:
ParameterException
  • Object
show all
Defined in:
lib/aws/templates/exception/nested_parameter_exception.rb

Overview

If something happens during parameter calculation

Instance Attribute Summary

Attributes inherited from ParameterException

#parameter

Instance Method Summary collapse

Methods inherited from ParameterException

#message

Constructor Details

#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