Class: Aws::Backup::Errors::ServiceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Backup::Errors::ServiceUnavailableException
- Defined in:
- gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb
Instance Method Summary collapse
-
#code ⇒ String
-
#context ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
constructor
A new instance of ServiceUnavailableException.
-
#message ⇒ String
-
#type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
Returns a new instance of ServiceUnavailableException.
332 333 334 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 332 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
337 338 339 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 337 def code @code || @data[:code] end |
#context ⇒ String
352 353 354 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 352 def context @data[:context] end |
#message ⇒ String
342 343 344 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 342 def @message || @data[:message] end |
#type ⇒ String
347 348 349 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 347 def type @data[:type] end |