Class: Aws::AppMesh::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::AppMesh::Errors::TooManyRequestsException
- Defined in:
- gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/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.
180 181 182 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/errors.rb', line 180 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
185 186 187 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/errors.rb', line 185 def @message || @data[:message] end |
#retryable? ⇒ Boolean
189 190 191 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/errors.rb', line 189 def retryable? true end |
#throttling? ⇒ Boolean
193 194 195 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/errors.rb', line 193 def throttling? true end |