API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

classAmbiguousSceneInstanceError

@codexo/exojs / core / stable

Thrown when `unload(Target)` is called with `options.instance` omitted while more than one activation (active, retained, and/or preloaded) exists for `Target` - there is no priority order; the caller must specify which one via `{ instance: 'active' | 'retained' | 'preloaded' }`, or `{ instance: 'all' }` to discard every one.

6
props
0
methods
0
events
Import
import { AmbiguousSceneInstanceError } from '@codexo/exojs'

Thrown when `unload(Target)` is called with `options.instance` omitted while more than one activation (active, retained, and/or preloaded) exists for `Target` - there is no priority order; the caller must specify which one via `{ instance: 'active' | 'retained' | 'preloaded' }`, or `{ instance: 'all' }` to discard every one.

Constructors1
new(constructorName: string, candidates: readonly SceneInstanceKindWhich kind of scene activation a disambiguating SceneDirector.unload call targets.[]): AmbiguousSceneInstanceError
Properties6
cause?: unknown
constructorName: string
message: string
name: string
stack?: string
Source