httk.workflow.errors¶
Define exceptions raised by httk.workflow.
Exceptions¶
An action was refused because the subject, or its enclosure, is sealed. |
|
A seal cannot be written or verified. |
|
Base class for workflow protocol failures. |
|
A name did not resolve, without indicating malformed configuration. |
|
A workspace, job, journal frame, outcome, or request is malformed. |
|
The workspace cannot currently provide a coherent protocol view. |
|
The authoritative filesystem state is internally inconsistent. |
|
Another actor committed a transition from the expected marker. |
|
A workspace requires an extension this implementation does not support. |
|
A transactional-data manifest cannot be safely replayed. |
|
A shared runner cannot be resolved or verified. |
Module Contents¶
- exception httk.workflow.errors.SealedError¶
Bases:
RuntimeErrorAn action was refused because the subject, or its enclosure, is sealed.
Changing a project’s members while the project is sealed is refused rather than silently allowed: a seal a project commits to must not change beneath it.
- exception httk.workflow.errors.SealError¶
Bases:
RuntimeErrorA seal cannot be written or verified.
This is the cannot proceed failure: no signing key is available, or a member a project seal must cover is itself unsealed or has no handler. It never means an action was refused because something was already sealed; that is
SealedError.
- exception httk.workflow.errors.WorkflowError¶
Bases:
RuntimeErrorBase class for workflow protocol failures.
- exception httk.workflow.errors.ResolutionMiss¶
Bases:
ValueErrorA name did not resolve, without indicating malformed configuration.
- exception httk.workflow.errors.FormatError¶
Bases:
WorkflowError,ValueErrorA workspace, job, journal frame, outcome, or request is malformed.
Bases:
WorkflowErrorThe workspace cannot currently provide a coherent protocol view.
- exception httk.workflow.errors.WorkspaceCorruptionError¶
Bases:
WorkflowErrorThe authoritative filesystem state is internally inconsistent.
- exception httk.workflow.errors.TransitionLostError¶
Bases:
WorkflowErrorAnother actor committed a transition from the expected marker.
- exception httk.workflow.errors.UnsupportedExtensionError¶
Bases:
WorkflowErrorA workspace requires an extension this implementation does not support.
- exception httk.workflow.errors.TransactionError¶
Bases:
WorkflowErrorA transactional-data manifest cannot be safely replayed.
- exception httk.workflow.errors.RunnerResolutionError(code, message)¶
Bases:
WorkflowErrorA shared runner cannot be resolved or verified.
The failure carries the exact protocol failure
codethe manager records, so an unresolvable runner (runner_unavailable), a runner whose bytes disagree with the digest the job pinned (runner_mismatch), a missing registration (runner_not_built), and a failed foreground build (runner_build_failed) stay distinguishable to an operator.- Parameters:
- code¶