2 instantiations of ErrorContext
Microsoft.AspNetCore.Diagnostics (1)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
163await _exceptionHandler(new ErrorContext(context, ex));
Microsoft.AspNetCore.Diagnostics.Tests (1)
DeveloperExceptionPageMiddlewareTest.cs (1)
677return next(new ErrorContext(context.HttpContext, new FormatException("Bad format exception!")));
19 references to ErrorContext
Microsoft.AspNetCore.Diagnostics (5)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (5)
40private readonly Func<ErrorContext, Task> _exceptionHandler; 84private static void SetExceptionHandlerFeatures(ErrorContext errorContext) 196private Task DisplayException(ErrorContext errorContext) 219private async Task DisplayExceptionContent(ErrorContext errorContext) 251private ProblemDetails CreateProblemDetails(ErrorContext errorContext, HttpContext httpContext)
Microsoft.AspNetCore.Diagnostics.Abstractions (2)
IDeveloperPageExceptionFilter.cs (2)
18Task HandleExceptionAsync(ErrorContext errorContext, Func<ErrorContext, Task> next);
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (2)
DatabaseDeveloperPageExceptionFilter.cs (2)
45public async Task HandleExceptionAsync(ErrorContext errorContext, Func<ErrorContext, Task> next)
Microsoft.AspNetCore.Diagnostics.Tests (10)
DeveloperExceptionPageMiddlewareTest.cs (10)
651public Task HandleExceptionAsync(ErrorContext context, Func<ErrorContext, Task> next) 659public Task HandleExceptionAsync(ErrorContext context, Func<ErrorContext, Task> next) 667public Task HandleExceptionAsync(ErrorContext context, Func<ErrorContext, Task> next) 675public Task HandleExceptionAsync(ErrorContext context, Func<ErrorContext, Task> next) 683public Task HandleExceptionAsync(ErrorContext context, Func<ErrorContext, Task> next)