Class: Aws::RedshiftServerless::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::RedshiftServerless::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-redshiftserverless/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
- #retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
191 192 193 |
# File 'lib/aws-sdk-redshiftserverless/errors.rb', line 191 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
196 197 198 |
# File 'lib/aws-sdk-redshiftserverless/errors.rb', line 196 def code @code || @data[:code] end |
#message ⇒ String
201 202 203 |
# File 'lib/aws-sdk-redshiftserverless/errors.rb', line 201 def @message || @data[:message] end |
#retryable? ⇒ Boolean
205 206 207 |
# File 'lib/aws-sdk-redshiftserverless/errors.rb', line 205 def retryable? true end |