# `Ash.Error.Load.NoSuchRelationship`
[🔗](https://github.com/ash-project/ash/blob/v3.27.8/lib/ash/error/load/no_such_relationship.ex#L5)

Used when attempting to load a relationship that does not exist

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Ash.Error.Load.NoSuchRelationship{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  load_path: term(),
  path: term(),
  relationship: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.Ash.Error.Load.NoSuchRelationship` without raising it.

## Keys

- :resource
- :relationship
- :load_path

---

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