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.
Classes
Section titled “Classes”WorkflowError
Section titled “WorkflowError”class
class WorkflowError(Exception)A refusal with a registered code. str() is the code and the plain-words message.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
code | code | ||
message | message |
Methods and properties (1)
init constructor
WorkflowError(self, code: str, message: str) -> NoneSource: packages/ump-workflow/src/ump_workflow/errors.py, line 44
Constants
Section titled “Constants”| Name | Type | Value | Description |
|---|---|---|---|
Severity | Literal['info', 'warn', 'exclude', 'refuse'] | ||
CODES | dict[str, str] | {'BUNDLE_TAMPERED': "a file's sha256 differs from workflow.json or SHA256SUMS... |