---
url: >-
  https://adk.nht.io/api/@nhtio/adk/exceptions/variables/E_INVALID_INITIAL_REGISTRY_VALUE.md
description: >-
  Thrown when a registry is initialised with a value that is defined but not a
  plain object.
---

# Variable: E\_INVALID\_INITIAL\_REGISTRY\_VALUE

```ts
const E_INVALID_INITIAL_REGISTRY_VALUE: CreatedException<[]>;
```

Defined in: [lib/exceptions/runtime.ts:126](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/exceptions/runtime.ts#L126)

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.
