"""Exceptions"""
[docs]class HomeControlException(BaseException):
"""The base exception for HomeControl"""
[docs]class ItemNotFoundException(HomeControlException):
"""Item not found"""
[docs]class ModuleNotFoundException(HomeControlException):
"""Module not found"""
[docs]class PipInstallError(HomeControlException):
"""A pip install failed"""
[docs]class ConfigDomainAlreadyRegistered(HomeControlException):
"""The configuration domain is already registered"""
[docs]class ConfigurationNotApproved(HomeControlException):
"""Configuration has not been approved"""
[docs]class ItemNotOnlineError(HomeControlException):
"""Item is not online"""
[docs]class ItemTypeNotExistsError(HomeControlException):
"""Item type does not exist"""