"""Exceptions raised by the eufylife_api client."""

from __future__ import annotations


class EufyLifeError(Exception):
    """Base class for all errors raised by this library."""


class EufyLifeAuthError(EufyLifeError):
    """Raised when login fails or a stored token cannot be refreshed."""


class EufyLifeAPIError(EufyLifeError):
    """Raised when the EufyLife API returns an unexpected or error response."""
