12 writes to ExceptionHandler
Microsoft.AspNetCore.Diagnostics (3)
ExceptionHandler\ExceptionHandlerExtensions.cs (2)
87ExceptionHandler = exceptionHandlerPipeline 132options.Value.ExceptionHandler = newNext;
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (1)
62_options.ExceptionHandler = _next;
Microsoft.AspNetCore.Diagnostics.Tests (9)
ExceptionHandlerMiddlewareTest.cs (3)
322ExceptionHandler = (c) => Task.CompletedTask 385ExceptionHandler = (c) => 498ExceptionHandler = exceptionHandler,
ExceptionHandlerTest.cs (6)
622options.ExceptionHandler = httpContext => 958ExceptionHandler = httpContext => 1010ExceptionHandler = httpContext => 1065ExceptionHandler = httpContext => 1080ExceptionHandler = httpContext => 1143ExceptionHandler = httpContext =>
6 references to ExceptionHandler
Microsoft.AspNetCore.Diagnostics (6)
ExceptionHandler\ExceptionHandlerExtensions.cs (1)
128if (!string.IsNullOrEmpty(options.Value.ExceptionHandlingPath) && options.Value.ExceptionHandler is null)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (3)
51if (_options.ExceptionHandler == null) 185if (_options.ExceptionHandler is not null) 187await _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