71 references to SourceException
Aspire.Hosting (1)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Diagnostics (14)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (14)
115var exceptionName = edi.SourceException.GetType().FullName!;
117if ((edi.SourceException is OperationCanceledException || edi.SourceException is IOException) && context.RequestAborted.IsCancellationRequested)
135DiagnosticsTelemetry.ReportUnhandledException(_logger, context, edi.SourceException);
157Error = edi.SourceException,
167context.Response.StatusCode = _options.StatusCodeSelector?.Invoke(edi.SourceException) ?? DefaultStatusCode;
174if (await exceptionHandler.TryHandleAsync(context, edi.SourceException, context.RequestAborted))
209Exception = edi.SourceException,
230Exception = edi.SourceException,
248WriteDiagnosticEvent(_diagnosticListener, eventName, new { httpContext = context, exception = edi.SourceException });
251DiagnosticsTelemetry.ReportUnhandledException(_logger, context, edi.SourceException);
259DiagnosticsTelemetry.ReportUnhandledException(_logger, context, edi.SourceException);
263$"If the exception handler is expected to return 404 status responses then set {nameof(ExceptionHandlerOptions.AllowStatusCode404Response)} to true.", edi.SourceException));
271DiagnosticsTelemetry.ReportUnhandledException(_logger, context, 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.Extensions.Configuration.FileExtensions (1)
Microsoft.Extensions.DependencyInjection (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)