Skip to content
1 min read · 52 words

Variable: E_INVALID_INITIAL_REGISTRY_VALUE

ts
const E_INVALID_INITIAL_REGISTRY_VALUE: CreatedException<[]>;

Thrown when a registry is initialised with a value that is defined but not a plain object.

Remarks

Registries expect either undefined (empty start) or a plain object as their initial value. Passing a primitive, array, class instance, or other non-object signals a programming error in the caller.