Class: Aws::Account::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Account::Errors::TooManyRequestsException
- Defined in:
- lib/aws-sdk-account/errors.rb
Instance Method Summary collapse
-
#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.
112 113 114 |
# File 'lib/aws-sdk-account/errors.rb', line 112 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
117 118 119 |
# File 'lib/aws-sdk-account/errors.rb', line 117 def @message || @data[:message] end |
#retryable? ⇒ Boolean
121 122 123 |
# File 'lib/aws-sdk-account/errors.rb', line 121 def retryable? true end |
#throttling? ⇒ Boolean
125 126 127 |
# File 'lib/aws-sdk-account/errors.rb', line 125 def throttling? true end |