onError method
void
onError(
- dynamic err
Called upon transport error
@api private
Implementation
void onError(err) {
_logger.fine('socket error $err');
priorWebsocketSuccess = false;
emit('error', err);
onClose('transport error', err);
}