private IEnumerable<Exception> GetNonFatalExceptions() { yield return null; yield return new Exception(); yield return new InvalidOperationException(); }