Skip to content

errors

errors

Custom exceptions for the flow package.

FlowError

Bases: Exception

Base class for flow errors.

FlowExecutionError

FlowExecutionError(message: str, traceback: str)

Bases: FlowError

Error during flow execution.

Source code in src/flow/core/errors.py
def __init__(self, message: str, traceback: str):
    super().__init__(message)
    self.traceback = traceback

FlowRetryError

FlowRetryError(message: str, original_error: Exception)

Bases: FlowError

Flow retry attempts exhausted.

Source code in src/flow/core/errors.py
def __init__(self, message: str, original_error: Exception):
    super().__init__(message)
    self.original_error = original_error

FlowTimeoutError

Bases: FlowError

Flow execution timed out.

MissingDependencyError

Bases: FlowError

Required dependency not found.