mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 02:07:54 +00:00

Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Franck Nijhof <frenck@frenck.nl>
19 lines
509 B
Python
19 lines
509 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 ReolinkWebhookException(ReolinkException):
|
|
"""Raised when registering the reolink webhook failed."""
|
|
|
|
|
|
class UserNotAdmin(ReolinkException):
|
|
"""Raised when user is not admin."""
|