onsrap.errors module¶
- exception onsrap.errors.DependencyCycleError¶
Bases:
PipelineValidationErrorRaised when the stage graph contains a cycle. Child class with
PipelineValidationErroras the parent class.
- exception onsrap.errors.DuplicateStageError¶
Bases:
PipelineValidationErrorRaised when two stages share the same name. Child class with
PipelineValidationErroras the parent class.
- exception onsrap.errors.HistoricalPipelineLoadError¶
Bases:
OnsrapErrorRaised when there is an issue loading a previous PipelineRun instance.
- exception onsrap.errors.MissingDependencyError¶
Bases:
PipelineValidationErrorRaised when a stage depends on an unknown stage. Child class with
PipelineValidationErroras the parent class.
- exception onsrap.errors.OnsrapError¶
Bases:
ExceptionBase exception for onsrap.
- exception onsrap.errors.PipelineConfigurationError¶
Bases:
OnsrapErrorRaised when there has been an issue with the PipelineConfig instance.
- exception onsrap.errors.PipelineInitialisationError¶
Bases:
OnsrapErrorRaised when there is an error in definition of the Pipeline instance
- exception onsrap.errors.PipelineValidationError¶
Bases:
OnsrapErrorRaised when the pipeline definition is invalid. Child class with
OnsrapErroras the parent class.
- exception onsrap.errors.StageConfigurationError¶
Bases:
PipelineValidationErrorRaised when a stage definition is malformed. Child class with
PipelineValidationErroras the parent class.
- exception onsrap.errors.StageDependencyError¶
Bases:
OnsrapErrorRaised when incorrect inputs are provided to the dependency attribute of a Stage.
- exception onsrap.errors.StageExecutionError(message: str, stage_name: str | None = None, source: str | None = None, original_exception: Exception | None = None, result: StageResult | None = None)¶
Bases:
OnsrapErrorRaised when a stage fails during execution. Child class with
OnsrapErroras the parent class.
- exception onsrap.errors.StageLoadError(message: str, stage_name: str | None = None, source: str | None = None, original_exception: Exception | None = None, result: StageResult | None = None)¶
Bases:
StageExecutionErrorRaised when a file-backed stage cannot be loaded. Child class with
StageExecutionErroras the parent class.