code: private void callOnMessageError(WebSocketException cause, List<WebSocketFrame> frames)
      {
          mWebSocket.getListenerManager().callOnMessageError(cause, frames);
      }
docs: Call {@link WebSocketListener#onMessageError(WebSocket, WebSocketException, List)
  onMessageError} method of the listeners.