summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index 62c42feac..2cafb0109 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -1319,11 +1319,11 @@ class OnlyOneValueAllowed(ExecutionError):
class InvalidSyntax(ExecutionError):
"""
- **4208** Raised when trying to set more than one value to single-value attributes
+ **4208** Raised when an value does not match the required syntax
For example:
- >> raise OnlyOneValueAllowed(attr='ipahomesrootdir')
+ >> raise InvalidSyntax(attr='ipahomesrootdir')
Traceback (most recent call last):
...
InvalidSyntax: ipahomesrootdir: Invalid syntax