summaryrefslogtreecommitdiffstats
path: root/ipalib/exceptions.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-07-19 06:03:34 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-07-19 06:03:34 +0000
commite8257ad5311a4011625ed28bf6b308b1a9b43776 (patch)
tree1333b0763fab8278e7f72e4f145e23113154d72c /ipalib/exceptions.py
parentef7594ffe1bad349dc539f69ee90708460999a71 (diff)
downloadfreeipa.git-e8257ad5311a4011625ed28bf6b308b1a9b43776.tar.gz
freeipa.git-e8257ad5311a4011625ed28bf6b308b1a9b43776.tar.xz
freeipa.git-e8257ad5311a4011625ed28bf6b308b1a9b43776.zip
5: Fleshed out base.Named, added corresponding unit tests
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 752a1e20..4150d712 100644
--- a/ipalib/exceptions.py
+++ b/ipalib/exceptions.py
@@ -55,3 +55,7 @@ class OverrideError(IPAError):
class RegistrationError(IPAError):
msg = '%r is not a subclass of %s'
+
+
+class PrefixError(IPAError):
+ msg = 'class name %r must start with %r'