Exception: Aws::Templates::Exception::OptionShouldBeRecursive
- Inherits:
-
OptionError
- Object
- ArgumentError
- OptionError
- Aws::Templates::Exception::OptionShouldBeRecursive
- 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
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ OptionShouldBeRecursive
constructor
A new instance of OptionShouldBeRecursive.
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
#value ⇒ Object (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 |