public static AllExceptionsBack ( this ex ) : IEnumerable |
||
ex | this | |
return | IEnumerable |
public static IEnumerable<Exception> AllExceptionsBack(this Exception ex)
{
for(; ex != null; ex = ex.InnerException)
yield return ex;
}