Exception: Aws::Templates::OptionScalarOnTheWay
- Inherits:
-
OptionError
- Object
- ArgumentError
- OptionError
- Aws::Templates::OptionScalarOnTheWay
- Defined in:
- lib/aws/templates/exceptions.rb
Overview
Scalar is met while traversing Options path
Path is not empty yet but we can’t traverse deeper because the current value is a scalar
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, path) ⇒ OptionScalarOnTheWay
constructor
A new instance of OptionScalarOnTheWay.
Constructor Details
#initialize(value, path) ⇒ OptionScalarOnTheWay
Returns a new instance of OptionScalarOnTheWay.
210 211 212 213 214 215 216 217 218 |
# File 'lib/aws/templates/exceptions.rb', line 210 def initialize(value, path) @value = value @path = path super( "Value #{value} is not a recursive data structure and we have still #{path} keys " \ 'to look-up' ) end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
208 209 210 |
# File 'lib/aws/templates/exceptions.rb', line 208 def path @path end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
207 208 209 |
# File 'lib/aws/templates/exceptions.rb', line 207 def value @value end |