Ejemplo n.º 1
0
 public static EnumerableException <E> ToEnumerableException <E>(this E exception, string message = null) where E : Exception => EnumerableException.Create(exception, message);
Ejemplo 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);