Errors raised in rvsfunc

There’s a couple of situations that may occur when using rvsfunc that aren’t quite supported by the functions you might be using. This is a list of errors that may occur when using some of the functions.

They’re generally nothing major to be concerned about and fairly easy to fix. Especially since they tend to be for situations where special handling is required like VarRes or variable format video.

rvsfunc.errors.VariableFormatError

Raised for functions that only operate on constant format VideoNodes.

rvsfunc.errors.VariableResolutionError

Raised for functions that don't handle VarRes clips

rvsfunc.errors.YUVError

Raised for functions that only process YUV input

Descriptive and useful errors, made with ease of use in mind.

The error classes described here are to be used when erroneous or otherwise undesirable things are happening, like passing unsupported types of video. Mostly they exist to not throw a generic error and instead provide clear information about what went wrong. All they should need is the name of the function raising the error unless stated otherwise.

exception rvsfunc.errors.VariableFormatError(fn_name=None)

Raised for functions that only operate on constant format VideoNodes.

exception rvsfunc.errors.VariableResolutionError(fn_name=None)

Raised for functions that don’t handle VarRes clips

exception rvsfunc.errors.YUVError(fn_name=None)

Raised for functions that only process YUV input