# `Ash.Error.Changes.StaleRecord`
[🔗](https://github.com/ash-project/ash/blob/v3.23.1/lib/ash/error/changes/stale_record.ex#L5)

Used when a stale record is attempted to be updated or deleted

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Ash.Error.Changes.StaleRecord{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  field: term(),
  filter: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.Ash.Error.Changes.StaleRecord` without raising it.

## Keys

- :resource
- :filter
- :field

---

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