From e8257ad5311a4011625ed28bf6b308b1a9b43776 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Sat, 19 Jul 2008 06:03:34 +0000 Subject: 5: Fleshed out base.Named, added corresponding unit tests --- 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 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' -- cgit