File: exception.py

package info (click to toggle)
pytedee-async 0.2.20-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 132 kB
  • sloc: python: 714; makefile: 7
file content (25 lines) | stat: -rw-r--r-- 564 bytes parent folder | download
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."""