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