Esempio n. 1
0
 public static EnumerableException <E> ToEnumerableException <E>(this E exception, string message = null) where E : Exception => EnumerableException.Create(exception, message);
Esempio n. 2
0
 public static EnumerableException <E> MergeRange <E>(this E exc, IEnumerable <E> exceptions) where E : Exception => EnumerableException.Create(exc.ToImmutableList().SafeConcat(exceptions), exc?.Message);