open fun onWebsocketMessageHandlingFailure(ex: Exception)

Override this function to handle uncaught exceptions of client callbacks. E.g. if the browser sends a websocket message back to the kweb instance and the message handler throws an uncaught exception, kweb will invoke this exception handler to expose the fact that a message could not be properly handled