summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2008-12-17 17:21:25 -0700
committerJason Gerard DeRose <jderose@redhat.com>2008-12-17 17:21:25 -0700
commit360f95341a78e2fd601a38ffa103a5f5cbe8c424 (patch)
tree8577b53c2f1933f7e2510829f80d80c618bc2cf8 /ipalib/errors.py
parentf0bbe1b5a09e1e2fc33d662c4775203f594af416 (diff)
downloadfreeipa-360f95341a78e2fd601a38ffa103a5f5cbe8c424.tar.gz
freeipa-360f95341a78e2fd601a38ffa103a5f5cbe8c424.tar.xz
freeipa-360f95341a78e2fd601a38ffa103a5f5cbe8c424.zip
Fix show_api command
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index d85913042..bc4074d2d 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -117,6 +117,9 @@ class InvocationError(IPAError):
class UnknownCommandError(InvocationError):
format = 'unknown command "%s"'
+class NoSuchNamespaceError(InvocationError):
+ format = 'api has no such namespace: %s'
+
def _(text):
return text