---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/artifacts/variables/E_TOON_DECODE_FAILED.md
description: Thrown when TOON decoding fails.
---

# Variable: E\_TOON\_DECODE\_FAILED

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

Defined in: [src/batteries/artifacts/toon/exceptions.ts:36](https://github.com/NHTIO/ADK/blob/v1.20260907.0/src/src/batteries/artifacts/toon/exceptions.ts#L36)

Thrown when TOON decoding fails.

## Remarks

Wraps the underlying `ToonDecodeError` from the `@toon-format/toon` package, surfacing its
`line` and `source` properties so the model can self-correct.
