Class: Aws::Shield::Errors::OptimisticLockException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Shield::Errors::OptimisticLockException
- Defined in:
- lib/aws-sdk-shield/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OptimisticLockException
constructor
A new instance of OptimisticLockException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OptimisticLockException
Returns a new instance of OptimisticLockException.
225 226 227 |
# File 'lib/aws-sdk-shield/errors.rb', line 225 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
230 231 232 |
# File 'lib/aws-sdk-shield/errors.rb', line 230 def @message || @data[:message] end |