Source code for pyebus.exceptions

"""Exceptions."""


[docs]class UnknownMsgError(RuntimeError): """Exception raised in case of unknown Message."""
[docs]class CommandError(RuntimeError): """Command Error raised in case of EBUSD error, typically if the response starts with `ERR:`"""
[docs]class Shutdown(ConnectionError): """EBUS Shutdown."""