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