Ejemplo n.º 1
0
 /// <summary>
 ///     Returns all exceptions in the chain starting from the innermost.
 /// </summary>
 /// <param name="ex"></param>
 /// <returns></returns>
 public static IEnumerable <Exception> AllExceptions(this Exception ex)
 {
     return(ex.AllExceptionsBack().Reverse());
 }