summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-08-05 06:33:09 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-08-05 06:33:09 +0000
commit56fa454fdd229524999127a5b89cc7c9077b9bd6 (patch)
tree1e3b2ee0e60ccc5d31e109947a332bb682c271bb /ipalib/errors.py
parentd134b483066ae9d3a7e76d6e491f0f91eba6a954 (diff)
downloadfreeipa-56fa454fdd229524999127a5b89cc7c9077b9bd6.tar.gz
freeipa-56fa454fdd229524999127a5b89cc7c9077b9bd6.tar.xz
freeipa-56fa454fdd229524999127a5b89cc7c9077b9bd6.zip
47: Added plugable.check_identifier() function; added corresponding unit tests
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index 53a0870e6..e9f784773 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -56,13 +56,16 @@ class SetError(IPAError):
-
class RegistrationError(IPAError):
"""
Base class for errors that occur during plugin registration.
"""
+class NameSpaceError(RegistrationError):
+ msg = 'name %r does not re.match %r'
+
+
class SubclassError(RegistrationError):
"""
Raised when registering a plugin that is not a subclass of one of the