Skip to content
1 min read · 67 words

Variable: E_INVALID_TURN_RUNNER_CONFIG

ts
const E_INVALID_TURN_RUNNER_CONFIG: CreatedException<[string]>;

Defined in: lib/exceptions/runtime.ts:16

Thrown by @nhtio/adk!TurnRunner 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.