Source code for adafruit_fingerprint.exceptions
"""Internal Exception classes used by package
These classes subclass the base Exception class
Classes
_______
MissingPortException(Exception)
SerialReadException(Exception)
UnknownConfirmationCodeException(Exception)
"""
[docs]
class MissingPortException(Exception):
"""
Exception raised when the port param is missing when instantiating
the AdafruitFingerprin class
"""
[docs]
class SerialReadException(Exception):
"""Exception raised when no data is read from the serial port"""
[docs]
class UnknownConfirmationCodeException(Exception):
"""Exception raised when package content is an invalid response"""