ErrorBoundaryBase.CurrentException Property

Definition

Gets the current exception, or null if there is no exception.

C#
protected Exception? CurrentException { get; }

Property Value

Applies to

Product Versions
ASP.NET Core 6.0, 7.0, 8.0, 9.0