energomera_hass_mqtt.exceptions

Exceptions for the package.

Exceptions

EnergomeraConfigError

Exception thrown when configuration processing encounters an error.

EnergomeraMeterError

Exception thrown when the energy meter communication fails.

exception energomera_hass_mqtt.exceptions.EnergomeraConfigError

Bases: Exception

Exception thrown when configuration processing encounters an error.

add_note(note, /)

Add a note to the exception

with_traceback(tb, /)

Set self.__traceback__ to tb and return self.

exception energomera_hass_mqtt.exceptions.EnergomeraMeterError

Bases: Exception

Exception thrown when the energy meter communication fails.

add_note(note, /)

Add a note to the exception

with_traceback(tb, /)

Set self.__traceback__ to tb and return self.