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)
628ExceptionHandlingPath = exceptionHandlingPath,
ExceptionHandlerTest.cs (2)
852ExceptionHandlingPath = "/handle-errors" 884builder.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)
128if (!string.IsNullOrEmpty(options.Value.ExceptionHandlingPath) && options.Value.ExceptionHandler is null)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (6)
53if (_options.ExceptionHandlingPath == null) 141if (_options.ExceptionHandlingPath.HasValue) 143context.Request.Path = _options.ExceptionHandlingPath; 191if (_options.ExceptionHandlingPath.HasValue) 194handlerTag = _options.ExceptionHandlingPath.Value; 262$"This {nameof(InvalidOperationException)} containing the original exception was thrown since this is often due to a misconfigured {nameof(ExceptionHandlerOptions.ExceptionHandlingPath)}. " +