httk.workflow.errors

Exceptions raised by httk.workflow.

Exceptions

WorkflowError

Base class for workflow protocol failures.

FormatError

A workspace, job, journal frame, outcome, or request is malformed.

WorkspaceUnavailableError

The workspace cannot currently provide a coherent protocol view.

WorkspaceCorruptionError

The authoritative filesystem state is internally inconsistent.

TransitionLostError

Another actor committed a transition from the expected marker.

UnsupportedExtensionError

A workspace requires an extension this implementation does not support.

TransactionError

A transactional-data manifest cannot be safely replayed.

RunnerResolutionError

A shared runner cannot be resolved, staged, or verified.

Module Contents

exception httk.workflow.errors.WorkflowError[source]

Bases: Exception

Base class for workflow protocol failures.

exception httk.workflow.errors.FormatError[source]

Bases: WorkflowError, ValueError

A workspace, job, journal frame, outcome, or request is malformed.

exception httk.workflow.errors.WorkspaceUnavailableError[source]

Bases: WorkflowError

The workspace cannot currently provide a coherent protocol view.

exception httk.workflow.errors.WorkspaceCorruptionError[source]

Bases: WorkflowError

The authoritative filesystem state is internally inconsistent.

exception httk.workflow.errors.TransitionLostError[source]

Bases: WorkflowError

Another actor committed a transition from the expected marker.

exception httk.workflow.errors.UnsupportedExtensionError[source]

Bases: WorkflowError

A workspace requires an extension this implementation does not support.

exception httk.workflow.errors.TransactionError[source]

Bases: WorkflowError

A transactional-data manifest cannot be safely replayed.

exception httk.workflow.errors.RunnerResolutionError(code: str, message: str)[source]

Bases: WorkflowError

A shared runner cannot be resolved, staged, or verified.

The failure carries the exact protocol failure code the manager records, so an unresolvable runner (runner_unavailable) and a runner whose staged bytes disagree with the digest the job pinned (runner_mismatch) stay distinguishable to an operator.

code[source]