Exception: Aws::Templates::ParameterValueInvalid

Inherits:
ParameterException show all
Defined in:
lib/aws/templates/exceptions.rb

Overview

A value failed constraints

Instance Attribute Summary collapse

Attributes inherited from ParameterException

#parameter

Instance Method Summary collapse

Methods inherited from ParameterException

#message

Constructor Details

#initialize(target_parameter, target_object, target_value) ⇒ ParameterValueInvalid



127
128
129
130
131
132
133
134
# File 'lib/aws/templates/exceptions.rb', line 127

def initialize(target_parameter, target_object, target_value)
  @value = target_value
  @object = target_object
  super(
    target_parameter,
    message_text(target_parameter, target_object, target_value)
  )
end

Instance Attribute Details

#objectObject (readonly)

Returns the value of attribute object.



125
126
127
# File 'lib/aws/templates/exceptions.rb', line 125

def object
  @object
end

#valueObject (readonly)

Returns the value of attribute value.



124
125
126
# File 'lib/aws/templates/exceptions.rb', line 124

def value
  @value
end