---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/artifacts/variables/E_YAML_PARSE_ERROR.md
description: Thrown when YAML parsing fails due to invalid syntax.
---

# Variable: E\_YAML\_PARSE\_ERROR

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

Defined in: [src/batteries/artifacts/yaml/exceptions.ts:10](https://github.com/NHTIO/ADK/blob/v1.20260907.0/src/src/batteries/artifacts/yaml/exceptions.ts#L10)

Thrown when YAML parsing fails due to invalid syntax.

## Remarks

The exception message includes the parser's original error reason and line/mark information
when available, which enables the model to self-correct malformed YAML.
