Class: Aws::Glacier::Errors::NoLongerSupportedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Glacier::Errors::NoLongerSupportedException
- Defined in:
- gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb
Instance Method Summary collapse
-
#code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoLongerSupportedException
constructor
A new instance of NoLongerSupportedException.
-
#message ⇒ String
-
#type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoLongerSupportedException
Returns a new instance of NoLongerSupportedException.
151 152 153 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 151 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
161 162 163 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 161 def code @code || @data[:code] end |
#message ⇒ String
166 167 168 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 166 def @message || @data[:message] end |
#type ⇒ String
156 157 158 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 156 def type @data[:type] end |