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

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

Type declaration