Skip to content

error

Classes:

CustomExprError

CustomExprError(
    message: SupportsString,
    func: FuncExcept,
    clips: VideoNode | Sequence[VideoNode],
    expr: str | Sequence[str],
    fmt: int | None,
    opt: bool,
    boundary: bool,
    **kwargs: Any
)

Bases: CustomRuntimeError, vs_object

Thrown when a Expr error occurs.

Attributes:

Source code in vsexprtools/error.py
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
def __init__(
    self,
    message: SupportsString,
    func: FuncExcept,
    clips: vs.VideoNode | Sequence[vs.VideoNode],
    expr: str | Sequence[str],
    fmt: int | None,
    opt: bool,
    boundary: bool,
    **kwargs: Any,
) -> None:
    self.clips = to_arr(clips)
    self.expr = to_arr(expr)
    self.fmt = fmt
    self.opt = opt
    self.boundary = boundary
    super().__init__(message, func, self.expr, **kwargs)

boundary instance-attribute

boundary = boundary

clips instance-attribute

clips = to_arr(clips)

expr instance-attribute

expr = to_arr(expr)

fmt instance-attribute

fmt = fmt

opt instance-attribute

opt = opt