Class: Aws::S3Files::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::S3Files::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-s3files/lib/aws-sdk-s3files/errors.rb
Instance Method Summary collapse
-
#error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
138 139 140 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/errors.rb', line 138 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
143 144 145 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/errors.rb', line 143 def error_code @data[:error_code] end |
#message ⇒ String
148 149 150 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/errors.rb', line 148 def @message || @data[:message] end |