# `Yarnspinnex.CompileError`
[🔗](https://github.com/atavistock/yarnspinnex/blob/main/lib/yarnspinnex/compile_error.ex#L1)

Why a script could not be compiled: a parse failure, or a validation failure such as a jump to
a missing node. `line` (1-based, in the source string) and `node` locate the problem when known.

# `t`

```elixir
@type t() :: %Yarnspinnex.CompileError{
  __exception__: term(),
  description: String.t(),
  line: pos_integer() | nil,
  node: String.t() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
