Exception: Pikuri::Agent::Control::Cancellable::Cancelled

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

Constructor Details

#initializeCancelled

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