Class: Aws::ElementalInference::Errors::TooManyRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ElementalInference::Errors::TooManyRequestException
- Defined in:
- gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestException
constructor
A new instance of TooManyRequestException.
-
#message ⇒ String
-
#retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestException
Returns a new instance of TooManyRequestException.
132 133 134 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/errors.rb', line 132 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
137 138 139 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/errors.rb', line 137 def @message || @data[:message] end |
#retryable? ⇒ Boolean
141 142 143 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/errors.rb', line 141 def retryable? true end |