Skip to content

Commit 66f2d0f

Browse files
committed
Rewrite all exceptions to more readable ones
Signed-off-by: chandr-andr (Kiselev Aleksandr) <chandr@chandr.net>
1 parent deed715 commit 66f2d0f

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

python/psqlpy/_internal/exceptions.pyi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ class ConnectionPoolConfigurationError(BaseConnectionPoolError):
1313
class ConnectionPoolExecuteError(BaseConnectionPoolError):
1414
"""Error in connection pool execution."""
1515

16-
class DBPoolConfigurationError(RustPSQLDriverPyBaseError):
17-
"""Error if configuration of the database pool is unacceptable."""
18-
1916
class BaseConnectionError(RustPSQLDriverPyBaseError):
2017
"""Base error for Connection errors."""
2118

python/psqlpy/exceptions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
CursorCloseError,
1111
CursorFetchError,
1212
CursorStartError,
13-
DBPoolConfigurationError,
1413
MacAddr6ConversionError,
1514
PyToRustValueMappingError,
1615
RustPSQLDriverPyBaseError,
@@ -43,7 +42,6 @@
4342
"RustPSQLDriverPyBaseError",
4443
"RustToPyValueMappingError",
4544
"PyToRustValueMappingError",
46-
"DBPoolConfigurationError",
4745
"UUIDValueConvertError",
4846
"MacAddr6ConversionError",
4947
]

0 commit comments

Comments
 (0)