afterError method
Runs when Dio reports an error (network, bad response, cancel, etc.). Default forwards unchanged.
Implementation
Future<void> afterError(
DioException err,
ErrorInterceptorHandler handler,
) async {
handler.next(err);
}
Runs when Dio reports an error (network, bad response, cancel, etc.). Default forwards unchanged.
Future<void> afterError(
DioException err,
ErrorInterceptorHandler handler,
) async {
handler.next(err);
}