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.
44 45 46 47 |
# File 'lib/aws-sdk-core/waiters/errors.rb', line 44 def initialize(error) @error = error super(MSG % [error.]) end |
Instance Attribute Details
#error ⇒ Exception (readonly)
Returns The unexpected error.
50 51 52 |
# File 'lib/aws-sdk-core/waiters/errors.rb', line 50 def error @error end |