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

API Browser

Union

JsonError

union struct JsonError

Module: System.Data.Json
Assembly: System.Data.dll
Source file: JsonError.rvn

Inheritance: Object → ValueType → JsonError

Expected JSON syntax, resource, lookup, conversion or I/O failure. Match cases to inspect causes; diagnostic strings are not stable identifiers.

Cases

13 cases

Properties

2 items
HasValue: bool Indicates whether the union contains a case. A default uninitialized union has no case.
Value: object? Gets the boxed case payload. Prefer matching the union to inspect typed causes.

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; inspect union cases for stable program logic. Overrides Object.ToString