Class FaultResolver
Provides a way to evaluate an exception and provide details about it for in a developer friendly way.
Inheritance
System.Object
FaultResolver
Namespace: Cuemon.AspNetCore.Mvc.Filters.Diagnostics
Assembly: Cuemon.AspNetCore.Mvc.dll
Syntax
public class FaultResolver
Constructors
| Improve this DocFaultResolver(Func<Exception, Boolean>, Func<Exception, HttpExceptionDescriptor>)
Initializes a new instance of the FaultResolver class.
Declaration
public FaultResolver(Func<Exception, bool> validator, Func<Exception, HttpExceptionDescriptor> descriptor)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Exception, System.Boolean> | validator | The function delegate that evaluates an System.Exception. |
System.Func<System.Exception, HttpExceptionDescriptor> | descriptor | The function delegate that provides details about an System.Exception. |