'''
Exceptions and their subclasses
TODO: Distill these down and make a heirarchy.
'''
[docs]class PdServerException(Exception):
pass
[docs]class InteralException(Exception):
pass
[docs]class AuthenticationError(PdServerException):
pass
[docs]class InvalidCredentials(PdServerException):
pass
[docs]class PdidError(PdServerException):
pass
[docs]class PdidExclusionError(PdServerException):
pass
[docs]class ModelNotFound(PdServerException):
pass
[docs]class ParadropException(Exception):
pass
[docs]class ChuteNotFound(ParadropException):
pass
[docs]class ChuteNotRunning(ParadropException):
pass
[docs]class DeviceNotFoundException(ParadropException):
pass