mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 10:05:26 +01:00
24 lines
487 B
Python
24 lines
487 B
Python
"""Errors for the Axis component."""
|
|
|
|
from homeassistant.exceptions import HomeAssistantError
|
|
|
|
|
|
class AxisException(HomeAssistantError):
|
|
"""Base class for Axis exceptions."""
|
|
|
|
|
|
class AlreadyConfigured(AxisException):
|
|
"""Device is already configured."""
|
|
|
|
|
|
class AuthenticationRequired(AxisException):
|
|
"""Unknown error occurred."""
|
|
|
|
|
|
class CannotConnect(AxisException):
|
|
"""Unable to connect to the device."""
|
|
|
|
|
|
class UserLevel(AxisException):
|
|
"""User level too low."""
|