Skip to content

Commit

Permalink
fix: visit_ methods raise CompileError exception childs (#243)
Browse files Browse the repository at this point in the history
* fix: visit_ methods raise CompileError exception childs

* typo
  • Loading branch information
dpgaspar authored Jan 4, 2021
1 parent a1d9b7e commit 98cab4d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pydruid/db/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
from sqlalchemy.exc import CompileError


class Error(Exception):
pass

Expand Down Expand Up @@ -34,5 +37,5 @@ class DataError(DatabaseError):
pass


class NotSupportedError(DatabaseError):
class NotSupportedError(CompileError):
pass

0 comments on commit 98cab4d

Please sign in to comment.