1 write to Exception
Microsoft.AspNetCore.Diagnostics.Abstractions (1)
ErrorContext.cs (1)
21
Exception
= exception ?? throw new ArgumentNullException(nameof(exception));
11 references to Exception
Microsoft.AspNetCore.Diagnostics (9)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (9)
90
Error = errorContext.
Exception
,
202
Debugger.BreakForUserUnhandledException(errorContext.
Exception
);
214
if (errorContext.
Exception
is ICompilationException compilationException)
219
return DisplayRuntimeException(httpContext, errorContext.
Exception
);
230
Exception = errorContext.
Exception
236
sb.AppendLine(errorContext.
Exception
.ToString());
253
Title = TypeNameHelper.GetTypeDisplayName(errorContext.
Exception
.GetType()),
254
Detail = errorContext.
Exception
.Message,
262
details: 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.