We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a549583 commit f4f9dbdCopy full SHA for f4f9dbd
fastopenapi/error_handler.py
@@ -7,3 +7,20 @@
7
DeprecationWarning,
8
stacklevel=2,
9
)
10
+
11
+# Export classes for backward compatibility but hide from IDE autocomplete
12
+from fastopenapi.errors import ( # noqa: F401, E402
13
+ APIError,
14
+ AuthenticationError,
15
+ AuthorizationError,
16
+ BadRequestError,
17
+ CircularDependencyError,
18
+ DependencyError,
19
+ InternalServerError,
20
+ ResourceConflictError,
21
+ ResourceNotFoundError,
22
+ SecurityError,
23
+ ServiceUnavailableError,
24
+ ValidationError,
25
+ ErrorType,
26
+)
0 commit comments