EVENT_ ONLY
Represents an exception handler method with a single event parameter:
fun onFailure(event: E)Content copied to clipboard
The parameter must be an Event (or subtype).
These handlers are invoked whenever an exception occurs while processing any event of the declared type, regardless of what exception was thrown.