onError.Hap.emitSafe
void emitSafe(Args args, scope void delegate(Exception) @safe onError = null) @safeEmit this hap while reporting handler exceptions and continuing dispatch.
Every handler captured at the start of dispatch is invoked. Exceptions are passed to onError when it is not null; otherwise they are ignored.
Parameters
args | Arguments forwarded to each handler. |
onError | Optional exception callback. |
Throws
Any exception thrown by