# `AshLua.Errors.FieldsError`
[🔗](https://github.com/ash-project/ash_lua/blob/v0.1.0/lib/ash_lua/errors/fields_error.ex#L5)

An error raised during field-selection parsing / validation, carrying the
user-facing message, stable code, and any field names + interpolation
context the throw site knew about.

The `AshLua.Error` protocol impl unwraps this directly to the standard
error shape — no central switch over internal tags.

# `t`

```elixir
@type t() :: %AshLua.Errors.FieldsError{
  __exception__: true,
  code: String.t(),
  fields: [String.t()],
  message: String.t(),
  short_message: String.t(),
  vars: map()
}
```

---

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