Header menu logo Xanthos

XanthosError Type

Library-wide error representation used by higher-level workflows.

Union cases

Union case Description

Cancelled

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.

DataNotFound key

Full Usage: DataNotFound key

Parameters:
    key : string

key : string

EventQueueOverflow droppedCount

Full Usage: EventQueueOverflow droppedCount

Parameters:
    droppedCount : int

Indicates that the event queue reached its capacity and events were dropped. Subscribers can use this to detect backpressure and potential event loss.

droppedCount : int

IOError details

Full Usage: IOError details

Parameters:
    details : string

details : string

InteropError ComError

Full Usage: InteropError ComError

Parameters:
Item : ComError

UnexpectedError details

Full Usage: UnexpectedError details

Parameters:
    details : string

details : string

Unsupported feature

Full Usage: Unsupported feature

Parameters:
    feature : string

feature : string

ValidationError message

Full Usage: ValidationError message

Parameters:
    message : string

message : string

Instance members

Instance member Description

this.IsCancelled

Full Usage: this.IsCancelled

Returns: bool
Returns: bool

this.IsDataNotFound

Full Usage: this.IsDataNotFound

Returns: bool
Returns: bool

this.IsEventQueueOverflow

Full Usage: this.IsEventQueueOverflow

Returns: bool
Returns: bool

this.IsIOError

Full Usage: this.IsIOError

Returns: bool
Returns: bool

this.IsInteropError

Full Usage: this.IsInteropError

Returns: bool
Returns: bool

this.IsUnexpectedError

Full Usage: this.IsUnexpectedError

Returns: bool
Returns: bool

this.IsUnsupported

Full Usage: this.IsUnsupported

Returns: bool
Returns: bool

this.IsValidationError

Full Usage: this.IsValidationError

Returns: bool
Returns: bool

Type something to start searching.