yaml_workflow.exceptions¶
yaml_workflow.exceptions
¶
Custom exceptions for the YAML Workflow Engine.
Classes¶
ConfigurationError
¶
Bases: WorkflowError
Raised when workflow configuration is invalid or inconsistent.
Source code in src/yaml_workflow/exceptions.py
FlowError
¶
FlowNotFoundError
¶
Bases: FlowError
Raised when a specified flow is not found.
Source code in src/yaml_workflow/exceptions.py
FunctionNotFoundError
¶
Bases: StepError
Raised when a function specified in a step cannot be found in the module.
Source code in src/yaml_workflow/exceptions.py
InputResolutionError
¶
Bases: WorkflowRuntimeError
Raised when input variables cannot be resolved.
Source code in src/yaml_workflow/exceptions.py
InputValidationError
¶
Bases: StepError
Raised when step input validation fails.
Source code in src/yaml_workflow/exceptions.py
InvalidFlowDefinitionError
¶
Bases: FlowError
Raised when a flow definition is invalid.
Source code in src/yaml_workflow/exceptions.py
ModuleImportError
¶
Bases: WorkflowRuntimeError
Raised when a module cannot be imported.
Source code in src/yaml_workflow/exceptions.py
ModuleNotFoundError
¶
Bases: StepError
Raised when a module specified in a step cannot be found.
Source code in src/yaml_workflow/exceptions.py
OutputHandlingError
¶
Bases: WorkflowRuntimeError
Raised when there are issues handling task outputs.
Source code in src/yaml_workflow/exceptions.py
OutputValidationError
¶
Bases: StepError
Raised when step output validation fails.
Source code in src/yaml_workflow/exceptions.py
RequiredVariableError
¶
Bases: WorkflowRuntimeError
Raised when a required variable is missing from the context.
Source code in src/yaml_workflow/exceptions.py
StepError
¶
Bases: WorkflowError
Base exception class for step-related errors.
Source code in src/yaml_workflow/exceptions.py
StepExecutionError
¶
Bases: StepError
Raised when a step fails during execution.
Source code in src/yaml_workflow/exceptions.py
StepNotInFlowError
¶
Bases: FlowError
Raised when trying to access a step that is not in the current flow.
Source code in src/yaml_workflow/exceptions.py
TaskExecutionError
¶
Bases: WorkflowRuntimeError
Raised when a task fails during execution.
Source code in src/yaml_workflow/exceptions.py
TemplateError
¶
Bases: WorkflowError
Raised when template resolution fails.
Source code in src/yaml_workflow/exceptions.py
VariableNotFoundError
¶
Bases: WorkflowError
Raised when a referenced variable is not found in the workflow context.
Source code in src/yaml_workflow/exceptions.py
WorkflowDefinitionError
¶
Bases: WorkflowError
Raised when there are issues with the workflow definition YAML.
Source code in src/yaml_workflow/exceptions.py
WorkflowError
¶
Bases: Exception
Base exception class for all workflow-related errors.
Source code in src/yaml_workflow/exceptions.py
WorkflowNotFoundError
¶
Bases: WorkflowError
Raised when a workflow file cannot be found.
Source code in src/yaml_workflow/exceptions.py
WorkflowRuntimeError
¶
Bases: WorkflowError
Base class for runtime workflow errors.
Source code in src/yaml_workflow/exceptions.py
WorkflowTimeoutError
¶
Bases: WorkflowError
Raised when a workflow exceeds its timeout limit.
Source code in src/yaml_workflow/exceptions.py
WorkflowValidationError
¶
Bases: WorkflowError
Raised when workflow YAML validation fails.
Source code in src/yaml_workflow/exceptions.py
WorkflowValidationSchema
¶
Schema definitions for workflow validation.