Exception Handlers
class ExceptionHandlers<R> @JvmOverloads constructor(val channelExceptionHandler: ChannelExceptionHandler, val incomingGameMessageConsumerExceptionHandler: IncomingGameMessageConsumerExceptionHandler<R> = DefaultIncomingGameMessageConsumerExceptionHandler())
A wrapper class for all the exception handlers necessary to make this library function safely.
Constructors
Link copied to clipboard
constructor(channelExceptionHandler: ChannelExceptionHandler, incomingGameMessageConsumerExceptionHandler: IncomingGameMessageConsumerExceptionHandler<R> = DefaultIncomingGameMessageConsumerExceptionHandler())
Properties
Link copied to clipboard
the exception handler for any exceptions caught by netty handlers
Link copied to clipboard
the exception handler for exceptions triggered via any message consumers, in order to allow the message processing to take place safely without the server needing to wrap each payload with its own exception handler