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)
499
ExceptionHandlingPath
= exceptionHandlingPath,
ExceptionHandlerTest.cs (2)
852
ExceptionHandlingPath
= "/handle-errors"
884
builder.Services.AddExceptionHandler(o => o.
ExceptionHandlingPath
= "/handle-errors");
5 references to ExceptionHandlingPath
Microsoft.AspNetCore.Diagnostics (5)
ExceptionHandler\ExceptionHandlerExtensions.cs (1)
128
if (!string.IsNullOrEmpty(options.Value.
ExceptionHandlingPath
) && options.Value.ExceptionHandler is null)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (4)
53
if (_options.
ExceptionHandlingPath
== null)
142
if (_options.
ExceptionHandlingPath
.HasValue)
144
context.Request.Path = _options.
ExceptionHandlingPath
;
218
$"This {nameof(InvalidOperationException)} containing the original exception was thrown since this is often due to a misconfigured {nameof(ExceptionHandlerOptions.
ExceptionHandlingPath
)}. " +