mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-23 10:06:31 +01:00
20 lines
510 B
Python
20 lines
510 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."""
|