Instance Exception Event Only Invoker
Invoker for instance-bound exception handler methods that declare only an event parameter:
fun onFailure(event: E)Content copied to clipboard
A handler using this signature is selected when the event being processed is an instance of E or any subtype, regardless of the throwable type.
These handlers act as event-scoped catch-alls: they run on any exception associated with the specified event type.