Class: Aws::Account::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Account::Errors::TooManyRequestsException
- Defined in:
- gems/aws-sdk-account/lib/aws-sdk-account/errors.rb
Instance Method Summary collapse
-
#error_type ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
constructor
A new instance of TooManyRequestsException.
-
#message ⇒ String
-
#retryable? ⇒ Boolean
-
#throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
Returns a new instance of TooManyRequestsException.
153 154 155 |
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 153 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_type ⇒ String
158 159 160 |
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 158 def error_type @data[:error_type] end |
#message ⇒ String
163 164 165 |
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 163 def @message || @data[:message] end |
#retryable? ⇒ Boolean
167 168 169 |
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 167 def retryable? true end |
#throttling? ⇒ Boolean
171 172 173 |
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 171 def throttling? true end |