summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-10-16 23:33:44 -0400
committerRob Crittenden <rcritten@redhat.com>2008-10-16 23:33:44 -0400
commitb045f220692e016a105f03af025d49f9a9cddc74 (patch)
tree011c660fab363d82b5dccb9ded62c01855951cfa /ipalib/errors.py
parentf777f72de6a7c1d3ef29088fbf89722c1148f246 (diff)
downloadfreeipa-b045f220692e016a105f03af025d49f9a9cddc74.tar.gz
freeipa-b045f220692e016a105f03af025d49f9a9cddc74.tar.xz
freeipa-b045f220692e016a105f03af025d49f9a9cddc74.zip
Add mod_python-based XML-RPC server.
Use -e kerberos on the command-line to use the mod_python server, otherwise it defaults to use the simple-server URL.
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index f1c9e26e..36df0690 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -23,6 +23,8 @@ All custom errors raised by `ipalib` package.
Also includes a few utility functions for raising exceptions.
"""
+IPA_ERROR_BASE = 1000
+
TYPE_FORMAT = '%s: need a %r; got %r'
def raise_TypeError(value, type_, name):