Exception: Aws::Record::Errors::ConditionalWriteFailed
- Inherits:
-
RecordError
- Object
- RuntimeError
- RecordError
- Aws::Record::Errors::ConditionalWriteFailed
- Defined in:
- lib/aws-record/record/errors.rb
Overview
Raised when a conditional write fails. Provides access to the original ConditionalCheckFailedException error which may have item data if the return values option was used.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(message, original_error) ⇒ ConditionalWriteFailed
constructor
A new instance of ConditionalWriteFailed.
Constructor Details
#initialize(message, original_error) ⇒ ConditionalWriteFailed
Returns a new instance of ConditionalWriteFailed.
22 23 24 25 |
# File 'lib/aws-record/record/errors.rb', line 22 def initialize(, original_error) @original_error = original_error super() end |
Instance Attribute Details
#original_error ⇒ Aws::DynamoDB::Errors::ConditionalCheckFailedException (readonly)
28 29 30 |
# File 'lib/aws-record/record/errors.rb', line 28 def original_error @original_error end |