next method

void next(
  1. DioError err
)

Continue to call the next error interceptor.

Implementation

void next(DioError err) {
  _completer.completeError(
    InterceptorState<DioError>(err),
    err.stackTrace,
  );
  _processNextInQueue?.call();
}