Custom exceptons
vs-kernels
also makes use of custom exceptions.
These can be used to check for specific errors related to conversion, matrices, kernels, etc.
- exception vskernels.exceptions.ReservedMatrixError
Bases:
PermissionError
Raised when a reserved matrix is requested.
- exception vskernels.exceptions.UndefinedMatrixError
Bases:
ValueError
Raised when an undefined matrix is passed.
- exception vskernels.exceptions.UnknownKernelError
Bases:
ValueError
Raised when an unknown kernel is passed.
- exception vskernels.exceptions.UnsupportedMatrixError
Bases:
ValueError
Raised when an unsupported matrix is passed.
- exception vskernels.exceptions.VideoPropError
Bases:
KeyError
Raised when there was an issue with a VideoProp.