MetricComputationError¶
-
exception
lsst.verify.
MetricComputationError
¶ Bases:
RuntimeError
This class represents unresolvable errors in computing a metric.
compatibility.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.