12 writes to ExceptionHandler
Microsoft.AspNetCore.Diagnostics (3)
ExceptionHandler\ExceptionHandlerExtensions.cs (2)
87
ExceptionHandler
= exceptionHandlerPipeline
132
options.Value.
ExceptionHandler
= newNext;
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (1)
62
_options.
ExceptionHandler
= _next;
Microsoft.AspNetCore.Diagnostics.Tests (9)
ExceptionHandlerMiddlewareTest.cs (3)
424
ExceptionHandler
= (c) => Task.CompletedTask
487
ExceptionHandler
= (c) =>
627
ExceptionHandler
= exceptionHandler,
ExceptionHandlerTest.cs (6)
622
options.
ExceptionHandler
= httpContext =>
958
ExceptionHandler
= httpContext =>
1010
ExceptionHandler
= httpContext =>
1065
ExceptionHandler
= httpContext =>
1080
ExceptionHandler
= httpContext =>
1143
ExceptionHandler
= httpContext =>
7 references to ExceptionHandler
Microsoft.AspNetCore.Diagnostics (7)
ExceptionHandler\ExceptionHandledType.cs (1)
24
/// Exception was handled by by <see cref="Builder.ExceptionHandlerOptions.
ExceptionHandler
"/>.
ExceptionHandler\ExceptionHandlerExtensions.cs (1)
128
if (!string.IsNullOrEmpty(options.Value.ExceptionHandlingPath) && options.Value.
ExceptionHandler
is null)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (3)
51
if (_options.
ExceptionHandler
== null)
184
if (_options.
ExceptionHandler
is not null)
186
await _options.
ExceptionHandler
!(context);
ExceptionHandler\ExceptionHandlerOptions.cs (2)
18
/// the <see cref="
ExceptionHandler
"/>.
38
/// <see cref="
ExceptionHandler
"/>. The default value is false and the middleware will