MetricComputationError¶
-
exception
lsst.verify.tasks.
MetricComputationError
¶ Bases:
RuntimeError
This class represents unresolvable errors in computing a metric.
lsst.verify.tasks.MetricTask
raisesMetricComputationError
instead of other data- or processing-related exceptions to let code that calls a mix of data processing and metric tasks distinguish between the two. Therefore, mostMetricComputationError
instances should be chained to another exception representing the underlying problem.