summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
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 53a0870e..e9f78477 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