Share via

HttpContextWrapper.Error Property


Gets the first error (if any) that accumulated when an HTTP request was being processed.

 virtual property Exception ^ Error { Exception ^ get(); };
public override Exception Error { get; }
member this.Error : Exception
Public Overrides ReadOnly Property Error As Exception

Property Value

The first exception for the current HTTP request, or null if no errors accumulated when the HTTP request was being processed. The default is null.

Applies to