WSException constructor
const
WSException([
- String message = 'An WebSocket error occurred.'
This is a custom exception class for WebSocket. Do not confuse it with a native exception WebSocketException from dart:io
Implementation
const WSException([this.message = 'An WebSocket error occurred.']);