Exception: Aws::Templates::Exception::OptionShouldBeRecursive

Inherits:
OptionError
  • Object
show all
Defined in:
lib/aws/templates/exception/option_should_be_recursive.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.



13
14
15
16
# File 'lib/aws/templates/exception/option_should_be_recursive.rb', line 13

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.



11
12
13
# File 'lib/aws/templates/exception/option_should_be_recursive.rb', line 11

def value
  @value
end