---
url: >-
  https://adk.nht.io/api/@nhtio/adk/exceptions/variables/E_INVALID_TURN_GATE_RESOLUTION.md
description: >-
  Thrown synchronously in the caller's context when {@link
  @nhtio/adk!TurnGate.resolve} is called with a value that fails the gate's
  schema.
---

# Variable: E\_INVALID\_TURN\_GATE\_RESOLUTION

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

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

Thrown synchronously in the caller's context when [@nhtio/adk!TurnGate.resolve](../../common/interfaces/TurnGate.md#resolve) is called with a
value that fails the gate's schema.

## Remarks

Fatal — passing the wrong type to `resolve()` is a programming error. The internal promise is
NOT settled when this is thrown; the gate remains open.
