1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
"""Exceptions for pytedee_async."""
class TedeeClientException(Exception):
"""General Tedee client exception."""
class TedeeAuthException(Exception):
"""Authentication exception against remote API."""
class TedeeLocalAuthException(Exception):
"""Authentication exception against local API."""
class TedeeRateLimitException(Exception):
"""Rate limit exception (only happens on cloud API)."""
class TedeeWebhookException(Exception):
"""Webhook exception."""
class TedeeDataUpdateException(Exception):
"""Data update exception."""
|