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)
322
ExceptionHandler
= (c) => Task.CompletedTask
385
ExceptionHandler
= (c) =>
498
ExceptionHandler
= exceptionHandler,
ExceptionHandlerTest.cs (6)
622
options.
ExceptionHandler
= httpContext =>
958
ExceptionHandler
= httpContext =>
1010
ExceptionHandler
= httpContext =>
1065
ExceptionHandler
= httpContext =>
1080
ExceptionHandler
= httpContext =>
1143
ExceptionHandler
= httpContext =>
6 references to ExceptionHandler
Microsoft.AspNetCore.Diagnostics (6)
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)
185
if (_options.
ExceptionHandler
is not null)
187
await _options.
ExceptionHandler
!(context);
ExceptionHandler\ExceptionHandlerOptions.cs (2)
16
/// the <see cref="
ExceptionHandler
"/>.
36
/// <see cref="
ExceptionHandler
"/>. The default value is false and the middleware will