Exception: OceanDynamo::AttributeAssignmentError
- Inherits:
-
DynamoError
- Object
- StandardError
- DynamoError
- OceanDynamo::AttributeAssignmentError
- Defined in:
- lib/ocean-dynamo/exceptions.rb
Instance Attribute Summary collapse
-
#attribute ⇒ Object
readonly
Returns the value of attribute attribute.
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
Instance Method Summary collapse
-
#initialize(message, exception, attribute) ⇒ AttributeAssignmentError
constructor
A new instance of AttributeAssignmentError.
Constructor Details
#initialize(message, exception, attribute) ⇒ AttributeAssignmentError
Returns a new instance of AttributeAssignmentError.
53 54 55 56 57 |
# File 'lib/ocean-dynamo/exceptions.rb', line 53 def initialize(, exception, attribute) super() @exception = exception @attribute = attribute end |
Instance Attribute Details
#attribute ⇒ Object (readonly)
Returns the value of attribute attribute.
52 53 54 |
# File 'lib/ocean-dynamo/exceptions.rb', line 52 def attribute @attribute end |
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
52 53 54 |
# File 'lib/ocean-dynamo/exceptions.rb', line 52 def exception @exception end |