invoke

abstract operator fun invoke(target: Any, event: Event)

Invokes the exception handler method.

Parameters

target

the subscriber instance declaring the handler.

event

the event whose handler produced an exception.