Raised by a backend if opening a video fails.
| 50 | |
| 51 | |
| 52 | class VideoOpenFailure(Exception): |
| 53 | """Raised by a backend if opening a video fails.""" |
| 54 | |
| 55 | def __init__(self, message: str = "Unknown backend error."): |
| 56 | """ |
| 57 | Arguments: |
| 58 | message: Additional context the backend can provide for the open failure. |
| 59 | """ |
| 60 | super().__init__(message) |
| 61 | |
| 62 | |
| 63 | class FrameRateUnavailable(VideoOpenFailure): |
no outgoing calls
no test coverage detected