Class: Aws::Signer::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Signer::Errors::TooManyRequestsException
- Defined in:
- lib/aws-sdk-signer/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
constructor
A new instance of TooManyRequestsException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
Returns a new instance of TooManyRequestsException.
212 213 214 |
# File 'lib/aws-sdk-signer/errors.rb', line 212 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
222 223 224 |
# File 'lib/aws-sdk-signer/errors.rb', line 222 def code @code || @data[:code] end |
#message ⇒ String
217 218 219 |
# File 'lib/aws-sdk-signer/errors.rb', line 217 def @message || @data[:message] end |