1 write to Exception
Microsoft.AspNetCore.Diagnostics.Abstractions (1)
ErrorContext.cs (1)
21Exception = exception ?? throw new ArgumentNullException(nameof(exception));
11 references to Exception
Microsoft.AspNetCore.Diagnostics (9)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (9)
90Error = errorContext.Exception, 202Debugger.BreakForUserUnhandledException(errorContext.Exception); 214if (errorContext.Exception is ICompilationException compilationException) 219return DisplayRuntimeException(httpContext, errorContext.Exception); 230Exception = errorContext.Exception 236sb.AppendLine(errorContext.Exception.ToString()); 253Title = TypeNameHelper.GetTypeDisplayName(errorContext.Exception.GetType()), 254Detail = errorContext.Exception.Message, 262details: errorContext.Exception.ToString(),
Microsoft.AspNetCore.Diagnostics.Abstractions (2)
ErrorContext.cs (2)
14/// Initializes the ErrorContext with the specified <see cref="HttpContext"/> and <see cref="Exception"/>. 30/// The <see cref="Exception"/> thrown during request processing.