Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/python-bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bareos/fuse/exceptions.py')
-rw-r--r--bareos/fuse/exceptions.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/bareos/fuse/exceptions.py b/bareos/fuse/exceptions.py
new file mode 100644
index 0000000..bab281b
--- /dev/null
+++ b/bareos/fuse/exceptions.py
@@ -0,0 +1,19 @@
+"""
+Bareos-Fuse specific exceptions
+"""
+
+class ParameterMissing(Exception):
+ """parameter missing"""
+ pass
+
+class SocketConnectionRefused(Exception):
+ """network socket connection refused"""
+ pass
+
+class RestoreClientUnknown(Exception):
+ """given restore client is not known"""
+ pass
+
+class RestorePathInvalid(Exception):
+ """restore path is invalid"""
+ pass