Skip to content

Errors

Typed failures of storage, the Session commit line, and transactions.

Since v0.0.0


Failures a commit adds to its body’s own errors.

Signature

type CommitError =
| StorageRejected
| StorageFailure
| SessionPoisoned
| ReadAfterWrite
| TransactionSettled
| ConversationNotFound
| EntryNotVisible
| TaskNotFound
| OwnerNotLive
| TaskRejected
| StateError

Source

Since v0.0.0

An input with whenBusy: "reject" arrived while the conversation had a run. Nothing was written.

Signature

declare class ConversationBusy

Source

Since v0.0.0

Signature

declare class ConversationNotFound

Source

Since v0.0.0

An entry is absent, or not visible through the conversation’s fork ancestry.

Signature

declare class EntryNotVisible

Source

Since v0.0.0

A task invocation used its runtime after it ended.

Signature

declare class InvocationEnded

Source

Since v0.0.0

An owner of new work is not live: completing, terminal, or abort-marked.

Signature

declare class OwnerNotLive

Source

Since v0.0.0

A table read was attempted after the transaction’s first table write.

Signature

declare class ReadAfterWrite

Source

Since v0.0.0

Failures of reads through the Session.

Signature

type ReadError = StorageFailure | SessionPoisoned | StateError

Source

Since v0.0.0

The scheduler’s scope closed while the operation was waiting or before it started.

Signature

declare class SchedulerClosed

Source

Since v0.0.0

A commit failed after Storage admission; memory may lag durable state, so the Session must be reopened.

Signature

declare class SessionPoisoned

Source

Since v0.0.0

Typed state access disagrees with the stored incarnation, or its value cannot be decoded.

Signature

declare class StateError

Source

Since v0.0.0

Storage failed with an uncertain outcome. A commit failing this way poisons the Session.

Signature

declare class StorageFailure

Source

Since v0.0.0

Storage refused a batch and guarantees that none of it was applied; the Session rolls back and stays usable.

Signature

declare class StorageRejected

Source

Since v0.0.0

Signature

declare class SubmissionNotFound

Source

Since v0.0.0

Failures a task’s own commit adds to a commit’s.

Signature

type TaskCommitError = CommitError | InvocationEnded | SchedulerClosed

Source

Since v0.0.0

Signature

declare class TaskNotFound

Source

Since v0.0.0

A wait outcome was read from a task that is not terminal.

Signature

declare class TaskNotTerminal

Source

Since v0.0.0

A task operation was refused: the task, its invocation or the transition is not in a state that allows it.

Signature

declare class TaskRejected

Source

Since v0.0.0

The transaction was used after its commit body settled.

Signature

declare class TransactionSettled

Source

Since v0.0.0