# `Ash.Error.Framework.UnsupportedSubject`
[🔗](https://github.com/ash-project/ash/blob/v3.27.8/lib/ash/error/framework/unsupported_subject.ex#L5)

Used when a subject is provided to a validation or preparation that it does not support

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Ash.Error.Framework.UnsupportedSubject{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  module: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  subject: term(),
  vars: term()
}
```

Create an `Elixir.Ash.Error.Framework.UnsupportedSubject` without raising it.

## Keys

- :subject
- :module

---

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