Skip to main content

AnimationUpdateErrors

Error codes that may be thrown during animation updates.

Description

These errors can occur when calling update to manually update the animation state.

Common scenarios:

  • NOT_INITIALIZED: Calling update before Flicking is ready

  • ANIMATION_INTERRUPTED: User interrupted the animation during update

Type

type AnimationUpdateErrors = typeof ERROR_CODE.NOT_INITIALIZED | typeof ERROR_CODE.ANIMATION_INTERRUPTED