mirror of
https://github.com/mx42/home-assistant-ecocito.git
synced 2026-01-14 13:59:50 +01:00
Initial version
This commit is contained in:
15
custom_components/ecocito/errors.py
Normal file
15
custom_components/ecocito/errors.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""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."""
|
||||
Reference in New Issue
Block a user