Errors
Typed failures of storage, the Session commit line, and transactions.
Since v0.0.0
CommitError (type alias)
Section titled “CommitError (type alias)”Failures a commit adds to its body’s own errors.
Signature
type CommitError = | StorageRejected | StorageFailure | SessionPoisoned | ReadAfterWrite | TransactionSettled | ConversationNotFound | EntryNotVisible | TaskNotFound | OwnerNotLive | TaskRejected | StateErrorSince v0.0.0
ConversationBusy (class)
Section titled “ConversationBusy (class)”An input with whenBusy: "reject" arrived while the conversation had a run. Nothing was written.
Signature
declare class ConversationBusySince v0.0.0
ConversationNotFound (class)
Section titled “ConversationNotFound (class)”Signature
declare class ConversationNotFoundSince v0.0.0
EntryNotVisible (class)
Section titled “EntryNotVisible (class)”An entry is absent, or not visible through the conversation’s fork ancestry.
Signature
declare class EntryNotVisibleSince v0.0.0
InvocationEnded (class)
Section titled “InvocationEnded (class)”A task invocation used its runtime after it ended.
Signature
declare class InvocationEndedSince v0.0.0
OwnerNotLive (class)
Section titled “OwnerNotLive (class)”An owner of new work is not live: completing, terminal, or abort-marked.
Signature
declare class OwnerNotLiveSince v0.0.0
ReadAfterWrite (class)
Section titled “ReadAfterWrite (class)”A table read was attempted after the transaction’s first table write.
Signature
declare class ReadAfterWriteSince v0.0.0
ReadError (type alias)
Section titled “ReadError (type alias)”Failures of reads through the Session.
Signature
type ReadError = StorageFailure | SessionPoisoned | StateErrorSince v0.0.0
SchedulerClosed (class)
Section titled “SchedulerClosed (class)”The scheduler’s scope closed while the operation was waiting or before it started.
Signature
declare class SchedulerClosedSince v0.0.0
SessionPoisoned (class)
Section titled “SessionPoisoned (class)”A commit failed after Storage admission; memory may lag durable state, so the Session must be reopened.
Signature
declare class SessionPoisonedSince v0.0.0
StateError (class)
Section titled “StateError (class)”Typed state access disagrees with the stored incarnation, or its value cannot be decoded.
Signature
declare class StateErrorSince v0.0.0
StorageFailure (class)
Section titled “StorageFailure (class)”Storage failed with an uncertain outcome. A commit failing this way poisons the Session.
Signature
declare class StorageFailureSince v0.0.0
StorageRejected (class)
Section titled “StorageRejected (class)”Storage refused a batch and guarantees that none of it was applied; the Session rolls back and stays usable.
Signature
declare class StorageRejectedSince v0.0.0
SubmissionNotFound (class)
Section titled “SubmissionNotFound (class)”Signature
declare class SubmissionNotFoundSince v0.0.0
TaskCommitError (type alias)
Section titled “TaskCommitError (type alias)”Failures a task’s own commit adds to a commit’s.
Signature
type TaskCommitError = CommitError | InvocationEnded | SchedulerClosedSince v0.0.0
TaskNotFound (class)
Section titled “TaskNotFound (class)”Signature
declare class TaskNotFoundSince v0.0.0
TaskNotTerminal (class)
Section titled “TaskNotTerminal (class)”A wait outcome was read from a task that is not terminal.
Signature
declare class TaskNotTerminalSince v0.0.0
TaskRejected (class)
Section titled “TaskRejected (class)”A task operation was refused: the task, its invocation or the transition is not in a state that allows it.
Signature
declare class TaskRejectedSince v0.0.0
TransactionSettled (class)
Section titled “TransactionSettled (class)”The transaction was used after its commit body settled.
Signature
declare class TransactionSettledSince v0.0.0