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

API Browser

Union

NumberParseError

union struct NumberParseError

Module: System
Assembly: System.Runtime.dll
Source file: NumberParseError.rvn

Inheritance: Object → ValueType → NumberParseError
Implements: Error

Development standard Raven union for concrete parsing failures.

Remarks

Use case patterns. Default has no active case; Parse returns active error cases only.

Cases

2 cases

Properties

5 items
Cause: Optional<Error> Leaf failures have no underlying cause. Implements Error.Cause
HasValue: bool No summary available.
Message: string A human-readable case description; use patterns to classify this failure. Implements Error.Message
StackTrace: Optional<StackTrace> Leaf failures do not capture stacks implicitly. Implements Error.StackTrace
Value: object? No summary available.

Methods

7 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
Extension member: FormatError() -> string Formats up to 64 error layers and one existing trace; never captures a stack. A longer or cyclic chain ends with a truncation marker. Messages are not machine codes. Extension from ErrorFormattingExtensions.FormatError
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 No summary available. Overrides Object.ToString
Extension member: WithContext(message: string, captureStackTrace: bool) -> ContextError<NumberParseError> Adds context, optionally capturing once at this boundary when no cause trace exists. Extension from ErrorExtensions.WithContext
Extension member: WithContext(message: string) -> ContextError<NumberParseError> Adds context using the application capture setting (disabled by default). Extension from ErrorExtensions.WithContext