summaryrefslogtreecommitdiff
path: root/errors
diff options
context:
space:
mode:
Diffstat (limited to 'errors')
-rw-r--r--errors/session.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/errors/session.py b/errors/session.py
index a09c4ec..ce35dca 100644
--- a/errors/session.py
+++ b/errors/session.py
@@ -20,3 +20,9 @@ class RequestProcessingError(Exception):
class NotLoggedIn(Exception):
pass
+
+class AccountMergeRequired(Exception):
+
+ def __init__(self, username):
+ Exception.__init__(self)
+ self.username = username # the username which is required to be logged in, in order to merge the accounts