Skip to content

Errors

WorkflowValidationError #

Bases: Exception

Raised when the workflow configuration or step signatures are invalid.

Source code in workflows/errors.py
5
6
class WorkflowValidationError(Exception):
    """Raised when the workflow configuration or step signatures are invalid."""

WorkflowTimeoutError #

Bases: Exception

Raised when a workflow run exceeds the configured timeout.

Source code in workflows/errors.py
 9
10
class WorkflowTimeoutError(Exception):
    """Raised when a workflow run exceeds the configured timeout."""

WorkflowRuntimeError #

Bases: Exception

Raised for runtime errors during step execution or event routing.

Source code in workflows/errors.py
13
14
class WorkflowRuntimeError(Exception):
    """Raised for runtime errors during step execution or event routing."""

WorkflowDone #

Bases: Exception

Internal control-flow exception used to terminate workers at run end.

Source code in workflows/errors.py
17
18
class WorkflowDone(Exception):
    """Internal control-flow exception used to terminate workers at run end."""

WorkflowCancelledByUser #

Bases: Exception

Raised when a run is cancelled via the handler or programmatically.

Source code in workflows/errors.py
21
22
class WorkflowCancelledByUser(Exception):
    """Raised when a run is cancelled via the handler or programmatically."""

WorkflowStepDoesNotExistError #

Bases: Exception

Raised when addressing a step that does not exist in the workflow.

Source code in workflows/errors.py
25
26
class WorkflowStepDoesNotExistError(Exception):
    """Raised when addressing a step that does not exist in the workflow."""

WorkflowConfigurationError #

Bases: Exception

Raised when a logical configuration error is detected pre-run.

Source code in workflows/errors.py
29
30
class WorkflowConfigurationError(Exception):
    """Raised when a logical configuration error is detected pre-run."""

ContextSerdeError #

Bases: Exception

Raised when serializing/deserializing a Context fails.

Source code in workflows/errors.py
33
34
class ContextSerdeError(Exception):
    """Raised when serializing/deserializing a `Context` fails."""