The callback will be executed on error.
@override FutureOr<dynamic> onError( DioException err, ErrorInterceptorHandler handler, ) { loggy.error('\nERROR:\n$err'); handler.next(err); }