summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad/common/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/leap/soledad/common/errors.py')
-rw-r--r--common/src/leap/soledad/common/errors.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/src/leap/soledad/common/errors.py b/common/src/leap/soledad/common/errors.py
index 2f6fd1d8..7a8a8929 100644
--- a/common/src/leap/soledad/common/errors.py
+++ b/common/src/leap/soledad/common/errors.py
@@ -143,3 +143,11 @@ class InvalidURLError(Exception):
"""
Exception raised when Soledad encounters a malformed URL.
"""
+
+
+@register_exception
+class BackendNotReadyError(SoledadError):
+ """
+ Generic exception raised when the backend is not ready to dispatch a client
+ request.
+ """