Exception: Aws::Waiters::Errors::NoSuchWaiterError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Aws::Waiters::Errors::NoSuchWaiterError
- 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
-
#initialize(waiter_name, waiter_names) ⇒ NoSuchWaiterError
constructor
A new instance of NoSuchWaiterError.
Constructor Details
#initialize(waiter_name, waiter_names) ⇒ NoSuchWaiterError
Returns a new instance of NoSuchWaiterError.
58 59 60 61 |
# File 'lib/aws-sdk-core/waiters/errors.rb', line 58 def initialize(waiter_name, waiter_names) waiter_names = waiter_names.map(&:inspect).join(', ') super(MSG % [waiter_name.inspect, waiter_names]) end |