Exception: Aws::Waiters::Errors::UnexpectedError

Inherits:
WaiterFailed
  • Object
show all
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

Instance Method Summary collapse

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.message])
end

Instance Attribute Details

#errorException (readonly)

Returns The unexpected error.

Returns:

  • (Exception)

    The unexpected error.



48
49
50
# File 'lib/aws-sdk-core/waiters/errors.rb', line 48

def error
  @error
end