Exceptions¶
-
class
sundog.SundogError¶ Bases:
ExceptionThe base for all sundog errors. Not to be raised directly, but could be used if you want to catch any except this program may explicitly raise.
-
class
sundog.BaseAddressNotFoundError(addresses)¶ Bases:
sundog.SundogErrorRaised if no address matched the expected SunSpec sentinel value.
-
class
sundog.InternalError¶ Bases:
sundog.SundogErrorRaised when things that should not happen do, and they aren’t the user’s fault.
-
class
sundog.InvalidBaseAddressError(address, value)¶ Bases:
sundog.SundogErrorRaised if the specified base address does not match the expected SunSpec sentinel value.
-
class
sundog.ModbusError(exception)¶ Bases:
sundog.SundogErrorRaised when a Modbus action results in a Modbus exception.