Exception: Aws::Waiters::Errors::UnexpectedError
- Inherits:
-
WaiterFailed
- Object
- StandardError
- WaiterFailed
- Aws::Waiters::Errors::UnexpectedError
- Defined in:
- lib/aws-sdk-core/waiters/errors.rb
Constant Summary collapse
- MSG =
"stopped waiting due to an unexpected error: %s"
Instance Attribute Summary collapse
-
#error ⇒ Exception
readonly
The unexpected error.
Instance Method Summary collapse
-
#initialize(error) ⇒ UnexpectedError
constructor
A new instance of UnexpectedError.
Constructor Details
#initialize(error) ⇒ UnexpectedError
Returns a new instance of UnexpectedError.
42 43 44 45 |
# File 'lib/aws-sdk-core/waiters/errors.rb', line 42 def initialize(error) @error = error super(MSG % [error.]) end |
Instance Attribute Details
#error ⇒ Exception (readonly)
Returns The unexpected error.
48 49 50 |
# File 'lib/aws-sdk-core/waiters/errors.rb', line 48 def error @error end |