mirror of
https://github.com/home-assistant/core.git
synced 2025-04-28 11:17:53 +00:00
16 lines
336 B
Python
16 lines
336 B
Python
"""Errors for the Hue component."""
|
|
|
|
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."""
|