Source code for steamloop.exceptions

"""Exception classes for steamloop."""


[docs] class SteamloopError(Exception): """Base exception for steamloop."""
[docs] class SteamloopConnectionError(SteamloopError): """Connection to the thermostat failed."""
[docs] class AuthenticationError(SteamloopError): """Authentication with the thermostat failed."""
[docs] class PairingError(SteamloopError): """Pairing with the thermostat failed."""
[docs] class CommandError(SteamloopError): """A command sent to the thermostat was rejected."""