Class: Aws::Backup::Errors::ConflictException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Backup::Errors::ConflictException
- Defined in:
- lib/aws-sdk-backup/errors.rb
Instance Method Summary collapse
- #code ⇒ String
- #context ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ConflictException
constructor
A new instance of ConflictException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ConflictException
Returns a new instance of ConflictException.
92 93 94 |
# File 'lib/aws-sdk-backup/errors.rb', line 92 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
97 98 99 |
# File 'lib/aws-sdk-backup/errors.rb', line 97 def code @code || @data[:code] end |
#context ⇒ String
112 113 114 |
# File 'lib/aws-sdk-backup/errors.rb', line 112 def context @data[:context] end |
#message ⇒ String
102 103 104 |
# File 'lib/aws-sdk-backup/errors.rb', line 102 def @message || @data[:message] end |
#type ⇒ String
107 108 109 |
# File 'lib/aws-sdk-backup/errors.rb', line 107 def type @data[:type] end |