Class: Aws::InternetMonitor::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::InternetMonitor::Errors::TooManyRequestsException
- Defined in:
- lib/aws-sdk-internetmonitor/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.
204 205 206 |
# File 'lib/aws-sdk-internetmonitor/errors.rb', line 204 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
209 210 211 |
# File 'lib/aws-sdk-internetmonitor/errors.rb', line 209 def @message || @data[:message] end |
#retryable? ⇒ Boolean
213 214 215 |
# File 'lib/aws-sdk-internetmonitor/errors.rb', line 213 def retryable? true end |
#throttling? ⇒ Boolean
217 218 219 |
# File 'lib/aws-sdk-internetmonitor/errors.rb', line 217 def throttling? true end |