summaryrefslogtreecommitdiff
path: root/sqlparse/exceptions.py
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2012-11-03 12:45:52 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2012-11-03 12:45:52 +0100
commitc67a742e01ee7084ffd6ec0d531b96e343e6a5a5 (patch)
tree6b03ac07bb5aa47af1d6c3bbf521561c7b591828 /sqlparse/exceptions.py
parent0a877102119d4738369c1464107123f3f9e6978d (diff)
downloadsqlparse-c67a742e01ee7084ffd6ec0d531b96e343e6a5a5.tar.gz
Move SQLParseError to proper location and start deprecation of sqlparse.SQLParseError.
Diffstat (limited to 'sqlparse/exceptions.py')
-rw-r--r--sqlparse/exceptions.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/sqlparse/exceptions.py b/sqlparse/exceptions.py
new file mode 100644
index 0000000..2a8e571
--- /dev/null
+++ b/sqlparse/exceptions.py
@@ -0,0 +1,11 @@
+# Copyright (C) 2012 Andi Albrecht, albrecht.andi@gmail.com
+#
+# This module is part of python-sqlparse and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php.
+
+"""Exceptions used in this package."""
+
+class SQLParseError(Exception):
+ """Base class for exceptions in this module."""
+
+