Class: Aws::DynamoDB::Errors::ConditionalCheckFailedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::DynamoDB::Errors::ConditionalCheckFailedException
- Defined in:
- lib/aws-sdk-dynamodb/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ConditionalCheckFailedException
constructor
A new instance of ConditionalCheckFailedException.
- #item ⇒ String
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ConditionalCheckFailedException
Returns a new instance of ConditionalCheckFailedException.
105 106 107 |
# File 'lib/aws-sdk-dynamodb/errors.rb', line 105 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#item ⇒ String
115 116 117 |
# File 'lib/aws-sdk-dynamodb/errors.rb', line 115 def item @data[:item] end |
#message ⇒ String
110 111 112 |
# File 'lib/aws-sdk-dynamodb/errors.rb', line 110 def @message || @data[:message] end |