Skip to content
1 min read · 57 words

Variable: E_INVALID_INITIAL_MEMORY_VALUE

ts
const E_INVALID_INITIAL_MEMORY_VALUE: CreatedException<[]>;

Thrown when a @nhtio/adk!Memory is initialised with a value that fails schema validation.

Remarks

Memory requires all fields — id, content, confidence, importance, createdAt, updatedAt — to be present and of the correct type. Passing an incomplete or incorrectly typed object signals a programming error in the caller, not a recoverable runtime condition.