Class: Aws::Schemas::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Schemas::Errors::TooManyRequestsException
- Defined in:
- lib/aws-sdk-schemas/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-schemas/errors.rb', line 212 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
217 218 219 |
# File 'lib/aws-sdk-schemas/errors.rb', line 217 def code @code || @data[:code] end |
#message ⇒ String
222 223 224 |
# File 'lib/aws-sdk-schemas/errors.rb', line 222 def @message || @data[:message] end |