TaskBridgeWebSocketPolicyCloseException
Exception thrown when the WebSocket is closed by the server due to a policy violation or authentication error.
Parameters
code
The WebSocket close code.
reason
The reason for closing the connection provided by the server.