---
url: >-
  https://adk.nht.io/api/@nhtio/adk/exceptions/variables/E_INVALID_LLM_EXECUTION_CONTEXT.md
description: >-
  Thrown when {@link @nhtio/adk!DispatchContext} is constructed with a value
  that fails schema validation.
---

# Variable: E\_INVALID\_LLM\_EXECUTION\_CONTEXT

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

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

Thrown when [@nhtio/adk!DispatchContext](../../types/interfaces/DispatchContext.md) is constructed with a value that fails schema validation.

## Remarks

Fatal — bad construction arguments indicate a programming error in the caller.
