summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index f115f0c4..115802fa 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -65,7 +65,9 @@ current block assignments:
- **1100 - 1199** `KerberosError` and its subclasses
- - **1200 - 1999** *Reserved for future use*
+ - **1200 - 1299** `SessionError` and its subclasses
+
+ - **1300 - 1999** *Reserved for future use*
- **2000 - 2999** `AuthorizationError` and its subclasses
@@ -598,6 +600,18 @@ class CannotResolveKDC(KerberosError):
format = _('Cannot resolve KDC for requested realm')
+class SessionError(AuthenticationError):
+ """
+ **1200** Base class for Session errors (*1200 - 1299*).
+
+ For example:
+
+ """
+
+ errno = 1200
+ format= _('Session error')
+
+
##############################################################################
# 2000 - 2999: Authorization errors
class AuthorizationError(PublicError):