FiberPool.onError
void onError(void delegate(Throwable) handler) @safe nothrowSet the error handler for unhandled exceptions in pooled fibers.
When a pooled work delegate throws, the error handler is called with the Throwable. If no handler is set, the exception is silently swallowed (the fiber continues to the next work item).
Parameters
handler | Delegate to call on unhandled work exceptions. |