onError method
Called when an exception was occurred during the request.
Implementation
@override
onError(DioException err, ErrorInterceptorHandler handler) {
return handler.next(err);
}
Called when an exception was occurred during the request.
@override
onError(DioException err, ErrorInterceptorHandler handler) {
return handler.next(err);
}