Class ExceptionExtensions
Inheritance
ExceptionExtensions
Assembly: Estrelica.Archer.Utility.dll
Syntax
public static class ExceptionExtensions
Methods
Declaration
public static bool FindException(this Exception ex, Func<Exception, bool> predicate)
Parameters
Returns
Declaration
public static Exception FindException<E>(this Exception exception, Func<Exception, bool> predicate = null) where E : Exception
Parameters
Returns
Type Parameters
Flattens a hierarchy of exceptions into an IEnumerable for easy checking
of a specific exception that might be buried under a wrapper exception
Declaration
public static IEnumerable<Exception> FlattenException(Exception ex)
Parameters
Returns
Declaration
public static bool IsDisconnectException(this Exception ex)
Parameters
Returns
Declaration
public static bool IsTokenException(this Exception ex)
Parameters
Returns