WebSocketException constructor

WebSocketException(
  1. String message,
  2. WebSocketErrorCode? code
)

Creates an exception which is thrown when there is an WebSocket error.

Implementation

WebSocketException(this.message, this.code);