Add DeviceAlreadyAttached exception
This commit is contained in:
parent
d1387a93b3
commit
3edbc85282
@ -116,6 +116,11 @@ class QubesDaemonCommunicationError(QubesException, IOError):
|
||||
permissions, as well'''
|
||||
|
||||
|
||||
class DeviceAlreadyAttached(QubesException, KeyError):
|
||||
'''Trying to attach already attached device'''
|
||||
pass
|
||||
|
||||
|
||||
# pylint: disable=too-many-ancestors
|
||||
class QubesDaemonNoResponseError(QubesDaemonCommunicationError):
|
||||
'''Got empty response from qubesd'''
|
||||
|
Loading…
Reference in New Issue
Block a user