Scheduler.exception_handler

Called each time task terminates with an exception when being run in context of the scheduler or the event loop.

NB: the task reference will be null when the delegate is called from the EpollSelectDispatcher context (i.e. if task threw after resuming from an event callback)

class Scheduler
void delegate(Task, Exception) exception_handler;

Meta