Enum PreferredFaultDescriptor
- Namespace
- Cuemon.AspNetCore.Diagnostics
- Assembly
- Cuemon.AspNetCore.dll
Specifies the preferred output format of an Exception raised in the context of either vanilla ASP.NET or ASP.NET MVC.
public enum PreferredFaultDescriptor
Fields
FaultDetails = 0
Produces the original format based on HttpExceptionDescriptor.
ProblemDetails = 1
Produces machine-readable format for specifying errors in HTTP API responses based on https://tools.ietf.org/html/rfc7807.