Exception: Aws::Waiters::Errors::TooManyAttemptsError
- Inherits:
-
WaiterFailed
- Object
- StandardError
- WaiterFailed
- Aws::Waiters::Errors::TooManyAttemptsError
- Defined in:
- lib/aws-sdk-core/waiters/errors.rb
Constant Summary collapse
- MSG =
"stopped waiting after %d attempts without success"
Instance Attribute Summary collapse
- #attempts ⇒ Integer readonly
Instance Method Summary collapse
-
#initialize(attempts) ⇒ TooManyAttemptsError
constructor
A new instance of TooManyAttemptsError.
Constructor Details
#initialize(attempts) ⇒ TooManyAttemptsError
Returns a new instance of TooManyAttemptsError.
30 31 32 33 |
# File 'lib/aws-sdk-core/waiters/errors.rb', line 30 def initialize(attempts) @attempts = attempts super(MSG % [attempts]) end |
Instance Attribute Details
#attempts ⇒ Integer (readonly)
36 37 38 |
# File 'lib/aws-sdk-core/waiters/errors.rb', line 36 def attempts @attempts end |