summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index 42d43ce64..b960ffc75 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -746,6 +746,7 @@ class PasswordMismatch(InvocationError):
errno = 3011
format = _('Passwords do not match')
+
class NotImplementedError(InvocationError):
"""
**3012** Raise when a function hasn't been implemented.
@@ -755,6 +756,15 @@ class NotImplementedError(InvocationError):
format = _('Command not implemented')
+class NotConfiguredError(InvocationError):
+ """
+ **3013** Raise when there is no configuration
+ """
+
+ errno = 3013
+ format = _('Client is not configured. Run ipa-client-install.')
+
+
##############################################################################
# 4000 - 4999: Execution errors