exceptionCaught

abstract fun exceptionCaught(ctx: ChannelHandlerContext, cause: Throwable)

Invoked whenever a Netty handler catches an exception.

Parameters

ctx

the channel handler context behind this connection

cause

the causation behind the exception