Class: Aws::StorageGateway::Errors::InternalServerError
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::StorageGateway::Errors::InternalServerError
- Defined in:
- lib/aws-sdk-storagegateway/errors.rb
Instance Method Summary collapse
- #error ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerError
constructor
A new instance of InternalServerError.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerError
Returns a new instance of InternalServerError.
45 46 47 |
# File 'lib/aws-sdk-storagegateway/errors.rb', line 45 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error ⇒ String
55 56 57 |
# File 'lib/aws-sdk-storagegateway/errors.rb', line 55 def error @data[:error] end |
#message ⇒ String
50 51 52 |
# File 'lib/aws-sdk-storagegateway/errors.rb', line 50 def @message || @data[:message] end |