Source code for astrophot.errors.image
from .base import AstroPhotError
__all__ = ("InvalidWindow", "InvalidData", "InvalidImage")
[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.
"""