diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-05 06:33:09 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-05 06:33:09 +0000 |
commit | 56fa454fdd229524999127a5b89cc7c9077b9bd6 (patch) | |
tree | 1e3b2ee0e60ccc5d31e109947a332bb682c271bb /ipalib/errors.py | |
parent | d134b483066ae9d3a7e76d6e491f0f91eba6a954 (diff) | |
download | freeipa-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.py | 5 |
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 |