Errors
WorkflowValidationError
#
Bases: Exception
Raised when the workflow configuration or step signatures are invalid.
Source code in workflows/errors.py
7 8 | |
WorkflowTimeoutError
#
Bases: Exception
Raised when a workflow run exceeds the configured timeout.
Source code in workflows/errors.py
11 12 | |
WorkflowRuntimeError
#
Bases: Exception
Raised for runtime errors during step execution or event routing.
Source code in workflows/errors.py
15 16 | |
WorkflowDone
#
Bases: Exception
Internal control-flow exception used to terminate workers at run end.
Source code in workflows/errors.py
19 20 | |
WorkflowCancelledByUser
#
Bases: Exception
Raised when a run is cancelled via the handler or programmatically.
Source code in workflows/errors.py
23 24 | |
WorkflowStepDoesNotExistError
#
Bases: Exception
Raised when addressing a step that does not exist in the workflow.
Source code in workflows/errors.py
27 28 | |
WorkflowConfigurationError
#
Bases: Exception
Raised when a logical configuration error is detected pre-run.
Source code in workflows/errors.py
31 32 | |
ContextSerdeError
#
Bases: Exception
Raised when serializing/deserializing a Context fails.
Source code in workflows/errors.py
35 36 | |
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
39 40 41 42 43 44 45 46 | |