Exception: Aws::Templates::OptionShouldBeRecursive
- Inherits:
-
OptionError
- Object
- ArgumentError
- OptionError
- Aws::Templates::OptionShouldBeRecursive
- 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
-
#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.
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
#value ⇒ Object (readonly)
Returns the value of attribute value.
179 180 181 |
# File 'lib/aws/templates/exceptions.rb', line 179 def value @value end |