InterceptorErrorCallback typedef

InterceptorErrorCallback = void Function(DioException error, ErrorInterceptorHandler handler)

The signature of Interceptor.onError.

Implementation

typedef InterceptorErrorCallback = void Function(
  DioException error,
  ErrorInterceptorHandler handler,
);