Class: Aws::Glacier::Errors::RequestTimeoutException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Glacier::Errors::RequestTimeoutException
- Defined in:
- lib/aws-sdk-glacier/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ RequestTimeoutException
constructor
A new instance of RequestTimeoutException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ RequestTimeoutException
Returns a new instance of RequestTimeoutException.
175 176 177 |
# File 'lib/aws-sdk-glacier/errors.rb', line 175 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
185 186 187 |
# File 'lib/aws-sdk-glacier/errors.rb', line 185 def code @code || @data[:code] end |
#message ⇒ String
190 191 192 |
# File 'lib/aws-sdk-glacier/errors.rb', line 190 def @message || @data[:message] end |
#type ⇒ String
180 181 182 |
# File 'lib/aws-sdk-glacier/errors.rb', line 180 def type @data[:type] end |