Table of Contents

Class FaultResolver

Namespace
Cuemon.Diagnostics
Assembly
Cuemon.Diagnostics.dll

Provides a way to evaluate an exception and provide details about it in a developer friendly way.

public class FaultResolver : FaultHandler<ExceptionDescriptor>
Inheritance
Object
FaultResolver
Inherited Members

Constructors

FaultResolver(Func<Exception, Boolean>, Func<Exception, ExceptionDescriptor>)

Initializes a new instance of the FaultResolver class.

public FaultResolver(Func<Exception, bool> validator, Func<Exception, ExceptionDescriptor> descriptor)

Parameters

validator Func<Exception, Boolean>

The function delegate that evaluates an System.Exception.

descriptor Func<Exception, ExceptionDescriptor>

The function delegate that provides details about an System.Exception.

Exceptions

System.ArgumentNullException

validator cannot be null -or- descriptor cannot be null.