StaticExceptionInvokers

internal sealed interface StaticExceptionInvokers : ExceptionInvoker

Sealed marker interface for all static exception invokers.

Implementations of this interface represent compiled call sites for static @ExceptionHandler methods, including the supported shapes:

  • (event: Event, throwable: Throwable)

  • (event: Event)

  • (throwable: Throwable)

Static exception handlers are typically registered via subscribeStatic and are not tied to any particular subscriber instance. The sealed hierarchy allows the dispatcher to treat all static exception invokers uniformly while still enabling precise pattern matching when needed.

Inheritors