We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bf2657 commit 41c24efCopy full SHA for 41c24ef
src/finch/__init__.py
@@ -17,6 +17,7 @@
17
from ._version import __title__, __version__
18
from ._exceptions import (
19
APIError,
20
+ FinchError,
21
ConflictError,
22
NotFoundError,
23
APIStatusError,
@@ -38,6 +39,7 @@
38
39
"NoneType",
40
"Transport",
41
"ProxiesTypes",
42
+ "FinchError",
43
"APIError",
44
"APIStatusError",
45
"APITimeoutError",
src/finch/_exceptions.py
@@ -18,7 +18,11 @@
]
-class APIError(Exception):
+class FinchError(Exception):
+ pass
+
24
25
+class APIError(FinchError):
26
message: str
27
request: httpx.Request
28
0 commit comments