Class: Aws::Glacier::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Glacier::Errors::ResourceNotFoundException
- Defined in:
- lib/aws-sdk-glacier/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
constructor
A new instance of ResourceNotFoundException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
Returns a new instance of ResourceNotFoundException.
200 201 202 |
# File 'lib/aws-sdk-glacier/errors.rb', line 200 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
210 211 212 |
# File 'lib/aws-sdk-glacier/errors.rb', line 210 def code @code || @data[:code] end |
#message ⇒ String
215 216 217 |
# File 'lib/aws-sdk-glacier/errors.rb', line 215 def @message || @data[:message] end |
#type ⇒ String
205 206 207 |
# File 'lib/aws-sdk-glacier/errors.rb', line 205 def type @data[:type] end |