5 writes to ExceptionHandlingPath
Microsoft.AspNetCore.Diagnostics (2)
ExceptionHandler\ExceptionHandlerExtensions.cs (2)
46
ExceptionHandlingPath
= new PathString(errorHandlingPath)
64
ExceptionHandlingPath
= new PathString(errorHandlingPath),
Microsoft.AspNetCore.Diagnostics.Tests (3)
ExceptionHandlerMiddlewareTest.cs (1)
628
ExceptionHandlingPath
= exceptionHandlingPath,
ExceptionHandlerTest.cs (2)
852
ExceptionHandlingPath
= "/handle-errors"
884
builder.Services.AddExceptionHandler(o => o.
ExceptionHandlingPath
= "/handle-errors");
8 references to ExceptionHandlingPath
Microsoft.AspNetCore.Diagnostics (8)
ExceptionHandler\ExceptionHandledType.cs (1)
28
/// Exception was handled by by <see cref="Builder.ExceptionHandlerOptions.
ExceptionHandlingPath
"/>.
ExceptionHandler\ExceptionHandlerExtensions.cs (1)
128
if (!string.IsNullOrEmpty(options.Value.
ExceptionHandlingPath
) && options.Value.ExceptionHandler is null)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (6)
53
if (_options.
ExceptionHandlingPath
== null)
141
if (_options.
ExceptionHandlingPath
.HasValue)
143
context.Request.Path = _options.
ExceptionHandlingPath
;
191
if (_options.
ExceptionHandlingPath
.HasValue)
194
handlerTag = _options.
ExceptionHandlingPath
.Value;
262
$"This {nameof(InvalidOperationException)} containing the original exception was thrown since this is often due to a misconfigured {nameof(ExceptionHandlerOptions.
ExceptionHandlingPath
)}. " +