WebSocketException constructor
WebSocketException(
- String message,
- WebSocketErrorCode? code
Creates an exception which is thrown when there is an WebSocket error.
Implementation
WebSocketException(this.message, this.code);