completeError method
Completes the WebSocketExchange with an error.
Implementation
void completeError(final Object error, [final StackTrace? stackTrace]) {
if (!_completer.isCompleted) {
_completer.completeError(error, stackTrace);
}
}
Completes the WebSocketExchange with an error.
void completeError(final Object error, [final StackTrace? stackTrace]) {
if (!_completer.isCompleted) {
_completer.completeError(error, stackTrace);
}
}