66 references to SourceException
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Diagnostics (10)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (10)
115var exceptionName = edi.SourceException.GetType().FullName!;
117if ((edi.SourceException is OperationCanceledException || edi.SourceException is IOException) && context.RequestAborted.IsCancellationRequested)
130DiagnosticsTelemetry.ReportUnhandledException(_logger, context, edi.SourceException);
158Error = edi.SourceException,
168context.Response.StatusCode = _options.StatusCodeSelector?.Invoke(edi.SourceException) ?? DefaultStatusCode;
175handled = await exceptionHandler.TryHandleAsync(context, edi.SourceException, context.RequestAborted);
196Exception = edi.SourceException,
210WriteDiagnosticEvent(_diagnosticListener, eventName, new { httpContext = context, exception = edi.SourceException });
219$"If the exception handler is expected to return 404 status responses then set {nameof(ExceptionHandlerOptions.AllowStatusCode404Response)} to true.", edi.SourceException));
Microsoft.AspNetCore.Mvc.Abstractions (4)
Microsoft.AspNetCore.Mvc.Core (4)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Mvc.Core.TestCommon (6)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Microsoft.AspNetCore.SignalR.Client.Core (2)
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Microsoft.AspNetCore.SignalR.Core (3)
Microsoft.Build (1)
Microsoft.Extensions.Configuration.FileExtensions (1)
Microsoft.JSInterop (2)
System.IO.Pipelines (1)
System.Net.Security (2)
System.Private.CoreLib (10)
System.Resources.Extensions (2)
System.Threading.Channels (1)
Templates.Blazor.WebAssembly.Auth.Tests (2)
Templates.Blazor.WebAssembly.Tests (2)
Templates.Mvc.Tests (2)
Templates.Tests (2)
Wasm.Performance.Driver (1)