hass-core/homeassistant/components/reolink/exceptions.py
starkillerOG 3c4455c696
Bump reolink-aio to 0.3.0 (#86259)
* Bump reolink-aio to 0.3.0

* fix typo

* ReolinkException
2023-01-20 08:05:43 +01:00

14 lines
396 B
Python

"""Exceptions for the Reolink Camera integration."""
from homeassistant.exceptions import HomeAssistantError
class ReolinkException(HomeAssistantError):
"""BaseException for the Reolink integration."""
class ReolinkSetupException(ReolinkException):
"""Raised when setting up the Reolink host failed."""
class UserNotAdmin(ReolinkException):
"""Raised when user is not admin."""