onError abstract method

  1. @override
  2. @Deprecated('not supported')
void onError(
  1. DioException err,
  2. ErrorInterceptorHandler handler
)

Called when an exception was occurred during the request.

Implementation

@override
@Deprecated('not supported')
void onError(
  DioException err,
  ErrorInterceptorHandler handler,
);