From 0cb26ef3ec68739a888f4295103210d301c2f9a8 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Sun, 20 Jul 2008 07:09:28 +0000 Subject: 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 --- ipalib/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ipalib/exceptions.py') 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' -- cgit