Class: Aws::RedshiftServerless::Errors::InsufficientCapacityException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::RedshiftServerless::Errors::InsufficientCapacityException
- Defined in:
- lib/aws-sdk-redshiftserverless/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InsufficientCapacityException
constructor
A new instance of InsufficientCapacityException.
- #message ⇒ String
- #retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InsufficientCapacityException
Returns a new instance of InsufficientCapacityException.
88 89 90 |
# File 'lib/aws-sdk-redshiftserverless/errors.rb', line 88 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
93 94 95 |
# File 'lib/aws-sdk-redshiftserverless/errors.rb', line 93 def @message || @data[:message] end |
#retryable? ⇒ Boolean
97 98 99 |
# File 'lib/aws-sdk-redshiftserverless/errors.rb', line 97 def retryable? true end |