You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Exception: Aws::Waiters::Errors::FailureStateError

Inherits:
WaiterFailed
  • Object
show all
Defined in:
gems/aws-sdk-core/lib/aws-sdk-core/waiters/errors.rb

Constant Summary

MSG =
"stopped waiting, encountered a failure state"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ FailureStateError

Returns a new instance of FailureStateError



13
14
15
16
# File 'gems/aws-sdk-core/lib/aws-sdk-core/waiters/errors.rb', line 13

def initialize(response)
  @response = response
  super(MSG)
end

Instance Attribute Details

#responseSeahorse::Client::Response (readonly)

Returns The response that matched the failure state.

Returns:



20
21
22
# File 'gems/aws-sdk-core/lib/aws-sdk-core/waiters/errors.rb', line 20

def response
  @response
end