Aspectacular.ExceptionExtensions.AllExceptions C# (CSharp) Method

AllExceptions() public static method

Returns all exceptions in the chain starting from the innermost.
public static AllExceptions ( this ex ) : IEnumerable
ex this
return IEnumerable
        public static IEnumerable<Exception> AllExceptions(this Exception ex)
        {
            return ex.AllExceptionsBack().Reverse();
        }