Errors
WorkflowValidationError #
Bases: Exception
Raised when the workflow configuration or step signatures are invalid.
Source code in workflows/errors.py
5 6 | |
WorkflowTimeoutError #
Bases: Exception
Raised when a workflow run exceeds the configured timeout.
Source code in workflows/errors.py
9 10 | |
WorkflowRuntimeError #
Bases: Exception
Raised for runtime errors during step execution or event routing.
Source code in workflows/errors.py
13 14 | |
WorkflowDone #
Bases: Exception
Internal control-flow exception used to terminate workers at run end.
Source code in workflows/errors.py
17 18 | |
WorkflowCancelledByUser #
Bases: Exception
Raised when a run is cancelled via the handler or programmatically.
Source code in workflows/errors.py
21 22 | |
WorkflowStepDoesNotExistError #
Bases: Exception
Raised when addressing a step that does not exist in the workflow.
Source code in workflows/errors.py
25 26 | |
WorkflowConfigurationError #
Bases: Exception
Raised when a logical configuration error is detected pre-run.
Source code in workflows/errors.py
29 30 | |
ContextSerdeError #
Bases: Exception
Raised when serializing/deserializing a Context fails.
Source code in workflows/errors.py
33 34 | |
ContextStateError #
Bases: Exception
Raised when a context method is called in the wrong state.
Context transitions between three states: - PreContext: Before workflow starts (configuration) - ExternalContext: During run, for handler/external code - InternalContext: During run, for step execution
Source code in workflows/errors.py
37 38 39 40 41 42 43 44 | |