summaryrefslogtreecommitdiffstats
path: root/pykolab/errors.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-07-04 17:23:01 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-07-04 17:23:01 +0100
commita979af801737a1512c1756e2f6ed8a69ba617d3d (patch)
tree200c414c0cc0c6acd3813997186c46179b146417 /pykolab/errors.py
parent6771a7fb990a43bf7eaaf35bfef141a2cc3e0d0e (diff)
downloadpykolab-a979af801737a1512c1756e2f6ed8a69ba617d3d.tar.gz
Wrapper around errors we're going to throw
Diffstat (limited to 'pykolab/errors.py')
-rw-r--r--pykolab/errors.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/pykolab/errors.py b/pykolab/errors.py
new file mode 100644
index 0000000..4df324f
--- /dev/null
+++ b/pykolab/errors.py
@@ -0,0 +1,31 @@
+# Copyright 2010-2011 Kolab Systems AG (http://www.kolabsys.com)
+#
+# Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen a kolabsys.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 3 or, at your option, any later version
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Library General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+
+from pykolab.translate import _
+
+class Error(object):
+ def __init__(self):
+ pass
+
+class ConfigurationError(Error):
+ def __init__(self):
+ pass
+
+class AuthBackendError(Error):
+ def __init__(self, *kw, **args):
+ pass \ No newline at end of file