class LocalApiServerHandler extends SimpleChannelInboundHandler<Object> {

    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause)
            throws Exception {
        LoggingService.logError(MODULE_NAME, "Uncaught exception", cause);
        FullHttpResponse response = ApiHandlerHelpers.internalServerErrorResponse(ctx.alloc().buffer(), cause.getMessage());
        sendHttpResponse(ctx, request, response);
    }

    public  LocalApiServerHandler(EventExecutorGroup executor);

}