API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classSceneTransitionLifecycleError
Thrown when a SceneTransitionSession or SceneTransitionEnvironment violates the transition lifecycle contract: - `'commit-reentrant'` - SceneTransitionEnvironment.commit was called a second time on the same session. Dev-mode only; a production build no-ops the second call instead of throwing. - `'done-before-commit'` - the session reported SceneTransitionSession.done `true` while SceneTransitionEnvironment.committed was still `false`. Always thrown, dev and production - the navigation aborts and the session is destroyed. - `'aborted'` - the owning `SceneDirector` was destroyed while this session was still active. Always thrown.
import { SceneTransitionLifecycleError } from '@codexo/exojs'Thrown when a SceneTransitionSession or SceneTransitionEnvironment violates the transition lifecycle contract: - `'commit-reentrant'` - SceneTransitionEnvironment.commit was called a second time on the same session. Dev-mode only; a production build no-ops the second call instead of throwing. - `'done-before-commit'` - the session reported SceneTransitionSession.done `true` while SceneTransitionEnvironment.committed was still `false`. Always thrown, dev and production - the navigation aborts and the session is destroyed. - `'aborted'` - the owning `SceneDirector` was destroyed while this session was still active. Always thrown.
new(reason: "aborted" | "commit-reentrant" | "done-before-commit"): SceneTransitionLifecycleErrorcause?: unknownmessage: stringname: stringreason: "aborted" | "commit-reentrant" | "done-before-commit"stack?: string