Exception: Aws::Waiters::Errors::NoSuchWaiterError

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

Overview

Raised when attempting to get a waiter by name and the waiter has not been defined.

Constant Summary collapse

MSG =
"no such waiter %s; valid waiter names are: %s"

Instance Method Summary collapse

Constructor Details

#initialize(waiter_name, waiter_names) ⇒ NoSuchWaiterError

Returns a new instance of NoSuchWaiterError.



60
61
62
63
# File 'lib/aws-sdk-core/waiters/errors.rb', line 60

def initialize(waiter_name, waiter_names)
  waiter_names = waiter_names.map(&:inspect).join(', ')
  super(MSG % [waiter_name.inspect, waiter_names])
end