StaticExceptionInvoker

Invoker for static exception handler methods that declare both an event and a throwable parameter:

fun onFailure(event: E, t: T)

This handler is selected when the event being processed is an instance of E (or any subtype) and the thrown exception is an instance of T (or any subtype).

Static exception handlers behave analogously to static event handlers and are registered via subscribeStatic.

Functions

Link copied to clipboard
abstract operator fun invoke(event: Event, throwable: Throwable)

Invokes the static exception handler method.