Merge remote-tracking branch 'origin/pr/115'

* origin/pr/115:
  Added an exception for backup already in progress
This commit is contained in:
Marek Marczykowski-Górecki 2019-11-12 22:08:18 +01:00
commit 6444d31af7
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -111,6 +111,11 @@ class BackupCancelledError(QubesException):
'''Thrown at user when backup was manually cancelled'''
class BackupAlreadyRunningError(QubesException):
'''Thrown at user when they try to run the same backup twice at
the same time'''
class QubesMemoryError(QubesException, MemoryError):
'''Cannot start domain, because not enough memory is available'''