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.
175 176 177 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/errors.rb', line 175 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
180 181 182 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/errors.rb', line 180 def code @code || @data[:code] end |
#message ⇒ String
185 186 187 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/errors.rb', line 185 def @message || @data[:message] end |
#retryable? ⇒ Boolean
189 190 191 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/errors.rb', line 189 def retryable? true end |