FaultHandler<TDescriptor> Class
Definition
- Namespace
- Cuemon.Diagnostics
- Assemblies
- Cuemon.Diagnostics.dll
Provides a generic way to implement a fault resolver that evaluate an exception and provide details about it in a developer friendly way.
public abstract class FaultHandler<TDescriptor> where TDescriptor : ExceptionDescriptor
Type Parameters
TDescriptor
- Inheritance
-
FaultHandler<TDescriptor>
- Derived
Constructors
| Name | Description |
|---|---|
| FaultHandler(Func<Exception, bool>, Func<Exception, TDescriptor>) | Initializes a new instance of the FaultResolver class. |
Methods
| Name | Description |
|---|---|
| TryResolveFault(Exception, out TDescriptor) | Attempts to resolve |