summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index fb82062ab..1c358cd6f 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -736,6 +736,15 @@ class NoSuchNamespaceError(InvocationError):
format = _('api has no such namespace: %(name)r')
+class PasswordMismatch(InvocationError):
+ """
+ **3011** Raise when password and password confirmation don't match.
+ """
+
+ errno = 3011
+ format = _('Passwords do not match')
+
+
##############################################################################
# 4000 - 4999: Execution errors