NIOCloseOnErrorHandler

public final class NIOCloseOnErrorHandler : ChannelInboundHandler

A ChannelInboundHandler that closes the channel when an error is caught