mirror of
https://github.com/home-assistant/core
synced 2024-08-15 18:25:44 +02: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."""
|