Interface WebSocketErrorCallback

    • Method Detail

      • onError

        void onError​(WebSocket webSocket,
                     java.lang.String errorMessage)
              throws java.lang.Exception
        The method that is invoked when an error occurs on a WebSocket
        Parameters:
        webSocket - The WebSocket that the error occurred on.
        errorMessage - The error message encountered by the WebSocket
        Throws:
        java.lang.Exception - An error occurred