Skip to content

ump_workflow.errors

module ump-workflow

The codes this runtime raises or notes. All are registered in ump_spec’s error_codes.yaml (source packages/ump-workflow); ump-spec’s tests/test_registry_additions.py scans this package for drift.

class

class WorkflowError(Exception)

A refusal with a registered code. str() is the code and the plain-words message.

Fields

NameTypeDefaultDescription
codecode
messagemessage
Methods and properties (1)

init constructor

WorkflowError(self, code: str, message: str) -> None

Source: packages/ump-workflow/src/ump_workflow/errors.py, line 44

NameTypeValueDescription
SeverityLiteral['info', 'warn', 'exclude', 'refuse']
CODESdict[str, str]{'BUNDLE_TAMPERED': "a file's sha256 differs from workflow.json or SHA256SUMS...