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.
104 105 106 |
# File 'lib/aws-sdk-dynamodb/errors.rb', line 104 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#item ⇒ String
114 115 116 |
# File 'lib/aws-sdk-dynamodb/errors.rb', line 114 def item @data[:item] end |
#message ⇒ String
109 110 111 |
# File 'lib/aws-sdk-dynamodb/errors.rb', line 109 def @message || @data[:message] end |