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