Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Union

HttpError

union struct HttpError

Module: System.Web.Http
Assembly: System.Web.dll
Source file: HttpError.rvn

Inheritance: Object → ValueType → HttpError

An expected failure while constructing or exchanging an HTTP message.

Cases

13 cases

Properties

2 items
HasValue: bool An expected failure while constructing or exchanging an HTTP message.
Value: object? An expected failure while constructing or exchanging an HTTP message.

Methods

4 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string Returns diagnostic text; match cases to inspect structured causes. Overrides Object.ToString