Class: Aws::B2bi::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::B2bi::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
-
#message ⇒ String
-
#retry_after_seconds ⇒ String
-
#retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
153 154 155 |
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/errors.rb', line 153 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
158 159 160 |
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/errors.rb', line 158 def @message || @data[:message] end |
#retry_after_seconds ⇒ String
163 164 165 |
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/errors.rb', line 163 def retry_after_seconds @data[:retry_after_seconds] end |
#retryable? ⇒ Boolean
167 168 169 |
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/errors.rb', line 167 def retryable? true end |