Exception: Aws::Templates::OptionShouldBeRecursive

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

Overview

Recursive value is expected

Value passed doesn’t not support “recursive” contract. See Utils.recursive?

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ OptionShouldBeRecursive

Returns a new instance of OptionShouldBeRecursive.



181
182
183
184
# File 'lib/aws/templates/exceptions.rb', line 181

def initialize(value)
  @value = value
  super("Value #{value} is not a recursive data structure")
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



179
180
181
# File 'lib/aws/templates/exceptions.rb', line 179

def value
  @value
end