Source code for astrophot.errors.image

from .base import AstroPhotError

__all__ = ("InvalidWindow", "InvalidData", "InvalidImage")


[docs] class InvalidWindow(AstroPhotError): """ Raised whenever a window is misspecified """
[docs] class InvalidData(AstroPhotError): """ Raised when the data provided to an image is invalid or cannot be processed. """
[docs] class InvalidImage(AstroPhotError): """ Raised when an image object cannot be used as given. """