Source code for superphot_pipeline.pipeline_exceptions
"""Collection of non-standard exceptions raised by the pipeline."""
git_id = '$Id: e7e91a392bfbdca2618f3a40c6abe4a2cbff918d $'
[docs]class OutsideImageError(IndexError):
"""Attempt to access image data outside the bounds of the image."""
[docs]class ImageMismatchError(ValueError):
"""Attempt to combine incompatible images in some way."""
[docs]class BadImageError(ValueError):
"""An image does not look like it is expected to."""
[docs]class ConvergenceError(RuntimeError):
"""Some iterative procedure failed to converge."""
[docs]class HDF5LayoutError(RuntimeError):
"""Error caused by invalid specification of HDF5 layout."""