Added an exception for backup already in progress
Thrown when user tries to run the same backup twice. references QubesOS/qubes-issues#5432
This commit is contained in:
parent
6b5e695f15
commit
d877671cc3
@ -111,6 +111,11 @@ class BackupCancelledError(QubesException):
|
|||||||
'''Thrown at user when backup was manually cancelled'''
|
'''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):
|
class QubesMemoryError(QubesException, MemoryError):
|
||||||
'''Cannot start domain, because not enough memory is available'''
|
'''Cannot start domain, because not enough memory is available'''
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user