| Value | Meaning |
|---|---|
| Failed0 | a generic error |
| NotWebsocket1 | attempted to handshake with a server that does not appear to understand WebSockets. |
| BadHandshake2 | the WebSocket handshake failed because some detail was invalid (eg, incorrect accept key). |
| BadOrigin3 | the WebSocket handshake failed because the "Origin" header was not an allowed value. |
WebSocket-related errors.