Class: Aws::RedshiftServerless::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::RedshiftServerless::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-redshiftserverless/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.
207 208 209 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/errors.rb', line 207 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
212 213 214 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/errors.rb', line 212 def code @code || @data[:code] end |
#message ⇒ String
217 218 219 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/errors.rb', line 217 def @message || @data[:message] end |
#retryable? ⇒ Boolean
221 222 223 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/errors.rb', line 221 def retryable? true end |