mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 10:17:51 +00:00
19 lines
436 B
Python
19 lines
436 B
Python
"""Errors for the deCONZ component."""
|
|
from homeassistant.exceptions import HomeAssistantError
|
|
|
|
|
|
class DeconzException(HomeAssistantError):
|
|
"""Base class for deCONZ exceptions."""
|
|
|
|
|
|
class AlreadyConfigured(DeconzException):
|
|
"""Gateway is already configured."""
|
|
|
|
|
|
class AuthenticationRequired(DeconzException):
|
|
"""Unknown error occurred."""
|
|
|
|
|
|
class CannotConnect(DeconzException):
|
|
"""Unable to connect to the gateway."""
|