summaryrefslogtreecommitdiffstats
path: root/ipalib/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r--ipalib/constants.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py
index 06ff99d5e..d028a0013 100644
--- a/ipalib/constants.py
+++ b/ipalib/constants.py
@@ -26,6 +26,12 @@ All constants centralised in one file.
NULLS = (None, '', u'', tuple(), [])
+TYPE_ERROR = '%s: need a %r; got %r (a %r)'
+
+
+CALLABLE_ERROR = '%s: need a callable; got %r (a %r)'
+
+
# Used for a tab (or indentation level) when formatting for CLI:
CLI_TAB = ' ' # Two spaces