addError abstract method
- Object error, [
- StackTrace? stackTrace
override
Reports an error on this WebSocket.
This does not send an error event to the remote peer. WebSocket connections only transmit text and binary data frames.
If unhandled, the error may be reported as an uncaught asynchronous error.
Implementation
void addError(Object error, [StackTrace? stackTrace]);