Class: Aws::Glacier::Errors::InsufficientCapacityException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Glacier::Errors::InsufficientCapacityException
- 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) ⇒ InsufficientCapacityException
constructor
A new instance of InsufficientCapacityException.
-
#message ⇒ String
-
#type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InsufficientCapacityException
Returns a new instance of InsufficientCapacityException.
51 52 53 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 51 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
61 62 63 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 61 def code @code || @data[:code] end |
#message ⇒ String
66 67 68 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 66 def @message || @data[:message] end |
#type ⇒ String
56 57 58 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 56 def type @data[:type] end |