Files
home-assistant-ecocito/custom_components/ecocito/errors.py
Thomas Bétrancourt df600eb18e Initial version
2024-11-03 20:59:08 +00:00

16 lines
375 B
Python

"""Errors for the Hue component."""
from homeassistant.exceptions import HomeAssistantError
class EcocitoError(HomeAssistantError):
"""Base class for ecocito exceptions."""
class CannotConnectError(EcocitoError):
"""Unable to connect to the ecocito servers."""
class InvalidAuthenticationError(EcocitoError):
"""Error to indicate there is invalid auth."""