11 lines
263 B
Python
11 lines
263 B
Python
|
class CameraException(RuntimeError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class CaptureSessionAlreadyRunningException(CameraException):
|
||
|
def __init__(self, device):
|
||
|
super().__init__('A capturing session on the device {} is already running'.format(device))
|
||
|
|
||
|
|
||
|
# vim:sw=4:ts=4:et:
|