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

API Browser

Union

EncodingError

union struct EncodingError

Module: System.Text
Assembly: System.Runtime.dll
Source file: EncodingError.rvn

Inheritance: Object → ValueType → EncodingError

A typed conversion, encoder or decoder lifecycle failure.

Remarks

Development standard Raven union. Match named cases. An inactive default has HasValue false and Value null.

Cases

6 cases

Properties

2 items
HasValue: bool Whether a case is active.
Value: object? The active case value, or null for the inactive default.

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 the active case name, or Empty. Overrides Object.ToString