2018-03-30 03:15:40 +00:00
|
|
|
"""Errors for the Hue component."""
|
2024-03-08 13:52:48 +00:00
|
|
|
|
2018-03-30 03:15:40 +00:00
|
|
|
from homeassistant.exceptions import HomeAssistantError
|
|
|
|
|
|
|
|
|
|
|
|
class HueException(HomeAssistantError):
|
|
|
|
"""Base class for Hue exceptions."""
|
|
|
|
|
|
|
|
|
|
|
|
class CannotConnect(HueException):
|
|
|
|
"""Unable to connect to the bridge."""
|
|
|
|
|
|
|
|
|
|
|
|
class AuthenticationRequired(HueException):
|
|
|
|
"""Unknown error occurred."""
|