Source code for astrophot.errors.models

from .base import AstroPhotError

__all__ = ("InvalidTarget", "UnrecognizedModel")


[docs] class InvalidTarget(AstroPhotError): """ Catches when a target object is assigned incorrectly. """
[docs] class UnrecognizedModel(AstroPhotError): """ Raised when the user tries to invoke a model that does not exist. """