Exceptions

class sundog.SundogError

Bases: Exception

The 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.SundogError

Raised if no address matched the expected SunSpec sentinel value.

class sundog.InternalError

Bases: sundog.SundogError

Raised when things that should not happen do, and they aren’t the user’s fault.

class sundog.InvalidBaseAddressError(address, value)

Bases: sundog.SundogError

Raised if the specified base address does not match the expected SunSpec sentinel value.

class sundog.ModbusError(exception)

Bases: sundog.SundogError

Raised when a Modbus action results in a Modbus exception.