2023-01-13 19:07:09 +00:00
|
|
|
"""Exceptions for the Reolink Camera integration."""
|
|
|
|
from homeassistant.exceptions import HomeAssistantError
|
|
|
|
|
|
|
|
|
2023-01-20 07:05:43 +00:00
|
|
|
class ReolinkException(HomeAssistantError):
|
|
|
|
"""BaseException for the Reolink integration."""
|
|
|
|
|
|
|
|
|
|
|
|
class ReolinkSetupException(ReolinkException):
|
|
|
|
"""Raised when setting up the Reolink host failed."""
|
|
|
|
|
|
|
|
|
|
|
|
class UserNotAdmin(ReolinkException):
|
2023-01-13 19:07:09 +00:00
|
|
|
"""Raised when user is not admin."""
|