From 98cab4d9c2a08a35667b26a15dee21bdb77422b4 Mon Sep 17 00:00:00 2001 From: Daniel Vaz Gaspar Date: Mon, 4 Jan 2021 21:02:14 +0000 Subject: [PATCH] fix: visit_ methods raise CompileError exception childs (#243) * fix: visit_ methods raise CompileError exception childs * typo --- pydruid/db/exceptions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pydruid/db/exceptions.py b/pydruid/db/exceptions.py index 70116d18..0d334bf4 100644 --- a/pydruid/db/exceptions.py +++ b/pydruid/db/exceptions.py @@ -1,3 +1,6 @@ +from sqlalchemy.exc import CompileError + + class Error(Exception): pass @@ -34,5 +37,5 @@ class DataError(DatabaseError): pass -class NotSupportedError(DatabaseError): +class NotSupportedError(CompileError): pass