RelationNotFoundException
class RelationNotFoundException extends RuntimeException (View source)
Properties
| string | $model | The name of the affected Eloquent model. |
|
| string | $relation | The name of the relation. |
Methods
static RelationNotFoundException
make(object $model, string $relation, string|null $type = null)
Create a new exception instance.
Details
static RelationNotFoundException
make(object $model, string $relation, string|null $type = null)
Create a new exception instance.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.