Skip to content

Commit 98cab4d

Browse files
authored
fix: visit_ methods raise CompileError exception childs (#243)
* fix: visit_ methods raise CompileError exception childs * typo
1 parent a1d9b7e commit 98cab4d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pydruid/db/exceptions.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
from sqlalchemy.exc import CompileError
2+
3+
14
class Error(Exception):
25
pass
36

@@ -34,5 +37,5 @@ class DataError(DatabaseError):
3437
pass
3538

3639

37-
class NotSupportedError(DatabaseError):
40+
class NotSupportedError(CompileError):
3841
pass

0 commit comments

Comments
 (0)