diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-07-20 07:09:28 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-07-20 07:09:28 +0000 |
commit | 0cb26ef3ec68739a888f4295103210d301c2f9a8 (patch) | |
tree | 00b3b83408cf386a8d948f01918f2c20b5fd6c50 /ipalib/exceptions.py | |
parent | c2df39156979ea5a01901b97504c1de276364dfc (diff) | |
download | freeipa.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.py | 4 |
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' |