Class: Aws::StorageGateway::Errors::InvalidGatewayRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::StorageGateway::Errors::InvalidGatewayRequestException
- Defined in:
- lib/aws-sdk-storagegateway/errors.rb
Instance Method Summary collapse
- #error ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidGatewayRequestException
constructor
A new instance of InvalidGatewayRequestException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidGatewayRequestException
Returns a new instance of InvalidGatewayRequestException.
65 66 67 |
# File 'lib/aws-sdk-storagegateway/errors.rb', line 65 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error ⇒ String
75 76 77 |
# File 'lib/aws-sdk-storagegateway/errors.rb', line 75 def error @data[:error] end |
#message ⇒ String
70 71 72 |
# File 'lib/aws-sdk-storagegateway/errors.rb', line 70 def @message || @data[:message] end |