lvsfunc exposes a couple of custom exceptions that are used internally. These are generally generic enough to allow other maintainers to make use of them as well.

class lvsfunc.exceptions.ClipsAndNamedClipsError(func, message='Positional clips and named keyword clips cannot both be given!')

Bases: CustomValueError

Raised when both positional clips and named clips are given.