onerror method

void onerror(
  1. dynamic err
)

Called upon socket error.

@api private

Implementation

void onerror(err) {
  _logger.fine('error $err');
  emitAll('error', err);
}