Class: Aws::EFS::Errors::TooManyRequests
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EFS::Errors::TooManyRequests
- Defined in:
- lib/aws-sdk-efs/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequests
constructor
A new instance of TooManyRequests.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequests
Returns a new instance of TooManyRequests.
664 665 666 |
# File 'lib/aws-sdk-efs/errors.rb', line 664 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
669 670 671 |
# File 'lib/aws-sdk-efs/errors.rb', line 669 def error_code @data[:error_code] end |
#message ⇒ String
674 675 676 |
# File 'lib/aws-sdk-efs/errors.rb', line 674 def @message || @data[:message] end |