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