diff options
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' |