summaryrefslogtreecommitdiffstats
path: root/ipalib/exceptions.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-07-20 07:09:28 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-07-20 07:09:28 +0000
commit0cb26ef3ec68739a888f4295103210d301c2f9a8 (patch)
tree00b3b83408cf386a8d948f01918f2c20b5fd6c50 /ipalib/exceptions.py
parentc2df39156979ea5a01901b97504c1de276364dfc (diff)
downloadfreeipa.git-0cb26ef3ec68739a888f4295103210d301c2f9a8.tar.gz
freeipa.git-0cb26ef3ec68739a888f4295103210d301c2f9a8.tar.xz
freeipa.git-0cb26ef3ec68739a888f4295103210d301c2f9a8.zip
15: Added ipalib.base2 module where I'm experimenting with a 3rd approach that is a hybrid of the first two: a decoupled late binding OO strategy
Diffstat (limited to 'ipalib/exceptions.py')
-rw-r--r--ipalib/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipalib/exceptions.py b/ipalib/exceptions.py
index 4584c1ee..76c7da8c 100644
--- a/ipalib/exceptions.py
+++ b/ipalib/exceptions.py
@@ -63,3 +63,7 @@ class RegistrationError(IPAError):
class PrefixError(IPAError):
msg = 'class name %r must start with %r'
+
+
+class TwiceSetError(IPAError):
+ msg = '%s.%s cannot be set twice'