Exception: Pikuri::Agent::Control::Cancellable::Cancelled
- Inherits:
-
StandardError
- Object
- StandardError
- Pikuri::Agent::Control::Cancellable::Cancelled
- Defined in:
- lib/pikuri/agent/control/cancellable.rb
Overview
Raised by #check! once #cancel! has been called; carries no fields. Pikuri::Agent#run_loop catches it, emits Event::Cancelled, and re-raises.
Instance Method Summary collapse
-
#initialize ⇒ Cancelled
constructor
A new instance of Cancelled.
Constructor Details
#initialize ⇒ Cancelled
Returns a new instance of Cancelled.
43 44 45 |
# File 'lib/pikuri/agent/control/cancellable.rb', line 43 def initialize super('Agent loop cancelled') end |