summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index a08ee959a..82905b391 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -240,6 +240,7 @@ class PublicError(StandardError):
"""
errno = 900
+ rval = 1
format = None
def __init__(self, format=None, message=None, **kw):
@@ -748,6 +749,7 @@ class NotFound(ExecutionError):
"""
errno = 4001
+ rval = 2
format = _('%(reason)s')
class DuplicateEntry(ExecutionError):