Skip to content

Commit 315c5d1

Browse files
committed
added FFmpegioError exception class
1 parent 51b45cb commit 315c5d1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/ffmpegio/utils/error.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import re
22

3+
4+
class FFmpegioError(Exception):
5+
pass
6+
7+
38
ERROR_MESSAGES = (
49
# cmdutils.c::parse_optgroup()
510
r"Option %s (%s) cannot be applied to %s %s",
@@ -193,7 +198,7 @@
193198
# endswith("aborting.")
194199

195200

196-
class FFmpegError(RuntimeError):
201+
class FFmpegError(FFmpegioError, RuntimeError):
197202
def __init__(self, logs=None, log_shown=None):
198203

199204
if logs is not None and isinstance(logs, str):

0 commit comments

Comments
 (0)