platypush/platypush/plugins/camera/model/exceptions.py

11 lines
263 B
Python
Raw Normal View History

2020-09-19 00:50:22 +02:00
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: