manager/test-packages/qubesadmin/exc.py
Marta Marczykowska-Górecka b27c10f1d4
Add handling for backup in progress
Shows a better error message when a given backup is already running.

fixes QubesOS/qubes-issues#5432
requires https://github.com/QubesOS/qubes-core-admin/pull/292
2019-11-11 17:44:53 +01:00

23 lines
396 B
Python

### mock qubesadmin.exc module
# pylint: disable=unused-variable
class QubesException(BaseException):
pass
class QubesVMNotStartedError(BaseException):
pass
class QubesPropertyAccessError(BaseException):
pass
class QubesDaemonNoResponseError(BaseException):
pass
class BackupCancelledError(BaseException):
pass
class BackupAlreadyRunningError(BaseException):
pass