FaultHandler Constructor
Definition
- Namespace
- Cuemon.Diagnostics
- Assemblies
- Cuemon.Diagnostics.dll
FaultHandler(Func<Exception, bool>, Func<Exception, TDescriptor>)
Initializes a new instance of the FaultResolver class.
protected FaultHandler(Func<Exception, bool> validator, Func<Exception, TDescriptor> descriptor)
Parameters
validatorFunc<Exception, bool>The function delegate that evaluates an Exception.
descriptorFunc<Exception, TDescriptor>The function delegate that provides details about an Exception.
Exceptions
- ArgumentNullException
validatorcannot be null -or-descriptorcannot be null.