AlgorithmError#
- exception lsst.pipe.base.AlgorithmError(*args: Any, **kwargs: Any)#
Bases:
RepeatableQuantumError,ABCException that may be raised by PipelineTasks (and code they delegate to) in order to indicate a repeatable algorithmic failure that will not be addressed by retries.
Subclass this exception to define the metadata associated with the error (for example: number of data points in a fit vs. degrees of freedom).
- abstract property metadata: Mapping[str, str | float | int | bool | Mapping[str, str | float | int | bool | NestedMetadataDict]] | None#
Metadata from the raising
Taskwith more information about the failure. The contents of the dict areTask-dependent, and must havestrkeys andstr,int,float,bool, or nested-dictionary (with the same key and value types) values.