webchalk-animate - v0.31.0
    Preparing search index...

    Type Alias GeneralErrorGenerator

    GeneralErrorGenerator: <TError extends Error>(
        ErrorClassOrInstance: TError | (new (message: string) => TError),
        msg: string,
        components?: {
            clip?: AnimClip;
            element?: DOMElement;
            sequence?: AnimSequence;
            timeline?: AnimTimeline;
        },
    ) => TError

    A function that throws an error with additional optional location information based on AnimTimeline, AnimSequence, AnimClip, or the DOM element being animated.

    Type Declaration