processError method
Runs error through each interceptor's onError. Returns null if suppressed.
Implementation
Future<dynamic> processError(dynamic error) async {
dynamic current = error;
for (final interceptor in _interceptors) {
if (current == null) return null;
current = await interceptor.onError(current);
}
return current;
}