2020-09-19 00:50:22 +02:00
|
|
|
class CameraException(RuntimeError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2020-09-25 18:06:27 +02:00
|
|
|
class CaptureAlreadyRunningException(CameraException):
|
2020-09-19 00:50:22 +02:00
|
|
|
def __init__(self, device):
|
|
|
|
super().__init__('A capturing session on the device {} is already running'.format(device))
|
|
|
|
|
|
|
|
|
|
|
|
# vim:sw=4:ts=4:et:
|