convenientTestRunAsyncEnhancedExceptionChecker top-level property
When running runAsyncEnhanced
and see exception, will call this checker.
For example, you may want to ignore certain kinds of exceptions, such as network timeout
Implementation
// ignore: avoid-global-state
void Function(Object?) convenientTestRunAsyncEnhancedExceptionChecker =
(e) => expect(e, isNull);