throw the websocket error