XanthosError Type
Library-wide error representation used by higher-level workflows.
Union cases
| Union case |
Description
|
Full Usage:
Cancelled
|
Indicates the operation was cancelled via CancellationToken. This case ensures that all API methods return Result<'T, XanthosError> rather than allowing OperationCanceledException to escape. |
Full Usage:
DataNotFound key
Parameters:
string
|
|
Full Usage:
EventQueueOverflow droppedCount
Parameters:
int
|
Indicates that the event queue reached its capacity and events were dropped. Subscribers can use this to detect backpressure and potential event loss.
|
Full Usage:
IOError details
Parameters:
string
|
|
|
|
Full Usage:
UnexpectedError details
Parameters:
string
|
|
Full Usage:
Unsupported feature
Parameters:
string
|
|
Full Usage:
ValidationError message
Parameters:
string
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsCancelled
Returns: bool
|
|
Full Usage:
this.IsDataNotFound
Returns: bool
|
|
Full Usage:
this.IsEventQueueOverflow
Returns: bool
|
|
Full Usage:
this.IsIOError
Returns: bool
|
|
Full Usage:
this.IsInteropError
Returns: bool
|
|
Full Usage:
this.IsUnexpectedError
Returns: bool
|
|
Full Usage:
this.IsUnsupported
Returns: bool
|
|
Full Usage:
this.IsValidationError
Returns: bool
|
|
Xanthos