Class: Aws::StorageGateway::Errors::ServiceUnavailableError
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::StorageGateway::Errors::ServiceUnavailableError
- Defined in:
- lib/aws-sdk-storagegateway/errors.rb
Instance Method Summary collapse
- #error ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableError
constructor
A new instance of ServiceUnavailableError.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableError
Returns a new instance of ServiceUnavailableError.
85 86 87 |
# File 'lib/aws-sdk-storagegateway/errors.rb', line 85 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error ⇒ String
95 96 97 |
# File 'lib/aws-sdk-storagegateway/errors.rb', line 95 def error @data[:error] end |
#message ⇒ String
90 91 92 |
# File 'lib/aws-sdk-storagegateway/errors.rb', line 90 def @message || @data[:message] end |