Source code for velociraptor.exceptions

"""
Manually defined exceptions.
"""


[docs]class RegistrationDoesNotMatchError(Exception): """ Raised when our registration function does not match the current variable name passed to it. """ def __init__(self, message=""): # Call the base class constructor with the parameters it needs super().__init__(message)
[docs]class AutoPlotterError(Exception): def __init__(self, message): self.message = message
[docs]class ObservationalDataError(Exception): def __init__(self, message): self.message = message