EVENT_ AND_ THROWABLE
Represents an exception handler method with two parameters:
fun onFailure(event: E, throwable: T)Content copied to clipboard
The first parameter must be an Event (or subtype), and the second must be a Throwable (or subtype).
This is the most specific form of exception handler. It is invoked only when both the event and the thrown exception match the declared parameter types.