5 writes to ExceptionHandlingPath
Microsoft.AspNetCore.Diagnostics (2)
ExceptionHandler\ExceptionHandlerExtensions.cs (2)
46ExceptionHandlingPath = new PathString(errorHandlingPath) 64ExceptionHandlingPath = new PathString(errorHandlingPath),
Microsoft.AspNetCore.Diagnostics.Tests (3)
ExceptionHandlerMiddlewareTest.cs (1)
499ExceptionHandlingPath = exceptionHandlingPath,
ExceptionHandlerTest.cs (2)
852ExceptionHandlingPath = "/handle-errors" 884builder.Services.AddExceptionHandler(o => o.ExceptionHandlingPath = "/handle-errors");
5 references to ExceptionHandlingPath
Microsoft.AspNetCore.Diagnostics (5)
ExceptionHandler\ExceptionHandlerExtensions.cs (1)
128if (!string.IsNullOrEmpty(options.Value.ExceptionHandlingPath) && options.Value.ExceptionHandler is null)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (4)
53if (_options.ExceptionHandlingPath == null) 142if (_options.ExceptionHandlingPath.HasValue) 144context.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)}. " +