10 references to ExceptionHandledType
Microsoft.AspNetCore.Diagnostics (10)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (9)
178
var
result =
ExceptionHandledType
.Unhandled;
183
result =
ExceptionHandledType
.ExceptionHandlerService;
189
if (result ==
ExceptionHandledType
.Unhandled)
200
result =
ExceptionHandledType
.ExceptionHandlingPath;
205
result =
ExceptionHandledType
.ExceptionHandlerDelegate;
219
result =
ExceptionHandledType
.ProblemDetailsService;
225
if (result !=
ExceptionHandledType
.Unhandled || _options.StatusCodeSelector is not null || is404FromBadHttpRequestException || context.Response.StatusCode != StatusCodes.Status404NotFound || _options.AllowStatusCode404Response)
245
suppressDiagnostics = result ==
ExceptionHandledType
.ExceptionHandlerService;
ExceptionHandler\ExceptionHandlerSuppressDiagnosticsContext.cs (1)
26
public required
ExceptionHandledType
ExceptionHandledBy { get; init; }