Source code for AFL.automation.shared.exceptions
[docs]
class EmptyException(Exception):
'''Raised when a mixture runs out of mass or volume'''
pass
[docs]
class MixingException(Exception):
'''Raised when a mixture cannot be made'''
pass
[docs]
class SerialCommsException(Exception):
'''Raised when the system receives a serial response it can't parse, likely a garbled line'''
pass
[docs]
class NoDeviceFoundException(Exception):
'''Raised when no matching device can be found on the selected port'''
pass
[docs]
class NotFoundError(Exception):
pass