IBadRequestExceptionFeature.Error Property

Definition

Synchronously retrieves the exception associated with the rejected HTTP request.

C#
public Exception? Error { get; }

Property Value

Applies to

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