ChannelExceptionHandler

The channel exception handler is an interface that is invoked whenever Netty catches an exception in the channels. The server is expected to close the connection in any such case, if it is still open, and log the exception behind it.

Functions

Link copied to clipboard
abstract fun exceptionCaught(ctx: ChannelHandlerContext, cause: Throwable)

Invoked whenever a Netty handler catches an exception.