Skip to content

Exceptions

MKVInfoError

MKVInfoError(message: str)

Bases: Exception

Base exception for the mkvinfo library.

Source code in src/mkvinfo/_errors.py
7
8
9
def __init__(self, message: str) -> None:
    self.message = message
    super().__init__(message)

message instance-attribute

message = message

ExecutableNotFoundError

ExecutableNotFoundError(message: str)

Bases: MKVInfoError

Raised when the mkvmerge executable is not found.

Source code in src/mkvinfo/_errors.py
7
8
9
def __init__(self, message: str) -> None:
    self.message = message
    super().__init__(message)