summaryrefslogtreecommitdiff
path: root/bupper/exceptions.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-02-13 21:43:57 +0100
committerAnton Khirnov <anton@khirnov.net>2020-02-13 21:43:57 +0100
commit946fdc6a4078e6dcaf8c2b87b5466583e2c18882 (patch)
treeb0d535d3655c6f4272c19c1c5c5de1ee6bbbdee3 /bupper/exceptions.py
parent201b5d759e5a0f97d7016664e947f6ce3b632721 (diff)
Implement basic working LXC+LVM snapshot functionality.
Still missing: - proper exception handling - stats
Diffstat (limited to 'bupper/exceptions.py')
-rw-r--r--bupper/exceptions.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bupper/exceptions.py b/bupper/exceptions.py
index 8944fe9..69201ef 100644
--- a/bupper/exceptions.py
+++ b/bupper/exceptions.py
@@ -1,4 +1,7 @@
-class RemoteExecException(Exception):
+class BackupException(Exception):
+ pass
+
+class RemoteExecException(BackupException):
retcode = None
output = None
def __init__(self, explanation, retcode, output):