IrcEventLoop.onError

Invoked when an error occurs for a client in the set.

If no handlers are registered, the error will be propagated out of IrcEventLoop.run. The client will always be removed from the set. Throwing from a handler is allowed but will cause any subsequent registered handlers not to be called and the exception will keep propagating.

class IrcEventLoop
void delegate(IrcClient, Exception)[] onError;

Meta