onError method
Called when an exception was occurred during the request.
Implementation
@override
void onError(DioException err, ErrorInterceptorHandler handler) {
super.onError(err, handler);
NNUtil.log('请求异常:${err.response?.data}');
}
Called when an exception was occurred during the request.
@override
void onError(DioException err, ErrorInterceptorHandler handler) {
super.onError(err, handler);
NNUtil.log('请求异常:${err.response?.data}');
}