@FunctionalInterface public interface WsExceptionHandler<T extends Exception>
Javalin.wsException(Class, WsExceptionHandler).
Is triggered when an exception is thrown by a handler in a WsConfig.WsContext| Modifier and Type | Method and Description |
|---|---|
void |
handle(T exception,
io.javalin.websocket.WsContext ctx) |
void handle(@NotNull
T exception,
@NotNull
io.javalin.websocket.WsContext ctx)
Copyright © 2022. All rights reserved.