summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/errors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index 8ecccf2b2..7629d8f57 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -112,10 +112,11 @@ class IPAError(Exception):
class ValidationError(IPAError):
msg = 'invalid %r value %r: %s'
- def __init__(self, name, value, error):
+ def __init__(self, name, value, error, index=None):
self.name = name
self.value = value
self.error = error
+ self.index = index
IPAError.__init__(self, name, value, error)