---
url: >-
  https://adk.nht.io/api/@nhtio/adk/exceptions/variables/E_INVALID_TURN_RUNNER_CONFIG.md
description: >-
  Thrown by {@link @nhtio/adk!TurnRunner} when the supplied config object fails
  schema validation at construction time.
---

# Variable: E\_INVALID\_TURN\_RUNNER\_CONFIG

```ts
const E_INVALID_TURN_RUNNER_CONFIG: CreatedException<[string]>;
```

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

Thrown by [@nhtio/adk!TurnRunner](../../turn_runner/classes/TurnRunner.md) when the supplied config object fails schema validation at
construction time.

## Remarks

Marked fatal — a misconfigured runner must not be allowed to execute turns.

The single printf argument carries the validator's field-level detail (e.g.
`"storeMediaBytesCallback is required"`) so a misconfiguration names the offending field
instead of failing opaquely. The underlying `ValidationError` is also attached on `cause`.
