laravel
Laravel Exceptions
Exception classes thrown by the Laravel PHP framework and its Illuminate components. Covers routing, validation, authentication, database queries, encryption, and queued jobs.
13 codes
· All codes 13 codes
- Illuminate--Auth--Access--AuthorizationException Illuminate\Auth\Access\AuthorizationException Raised when a gate or policy check denies access to the current user, typically resulting in a 403 response.
- Illuminate--Auth--AuthenticationException Illuminate\Auth\AuthenticationException Raised when a request reaches a route protected by the auth middleware without a valid, authenticated user.
- Illuminate--Contracts--Container--BindingResolutionException Illuminate\Contracts\Container\BindingResolutionException Raised by the service container when a class, interface, or abstract binding cannot be resolved, such as an unresolvable constructor parameter.
- Illuminate--Database--Eloquent--MassAssignmentException Illuminate\Database\Eloquent\MassAssignmentException Raised when attempting to mass-assign an attribute that is not present in a model's fillable list or is present in its guarded list.
- Illuminate--Database--Eloquent--ModelNotFoundException Illuminate\Database\Eloquent\ModelNotFoundException Raised by findOrFail and related Eloquent methods when no model matches the given primary key or query constraints.
- Illuminate--Database--QueryException Illuminate\Database\QueryException Wraps a PDO exception raised while executing a database query, including the failing SQL and its bindings.
- Illuminate--Encryption--DecryptException Illuminate\Encryption\DecryptException Raised by the encrypter when a payload cannot be decrypted, for example due to an invalid MAC or a mismatched application key.
- Illuminate--Http--Exceptions--PostTooLargeException Illuminate\Http\Exceptions\PostTooLargeException Raised when the size of an incoming POST request body exceeds the limit configured in php.ini.
- Illuminate--Queue--MaxAttemptsExceededException Illuminate\Queue\MaxAttemptsExceededException Raised when a queued job has been attempted more times than its configured maximum and is subsequently marked as failed.
- Illuminate--Session--TokenMismatchException Illuminate\Session\TokenMismatchException Raised by the VerifyCsrfToken middleware when a request's CSRF token does not match the token stored in the session.
- Illuminate--Validation--ValidationException Illuminate\Validation\ValidationException Raised when incoming request data fails one or more validation rules; Laravel converts this into a 422 response or a redirect back with errors.
- Symfony--Component--HttpKernel--Exception--MethodNotAllowedHttpException Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException Raised when a request matches a route's URI but uses an HTTP verb that route does not accept, resulting in a 405 response.
- Symfony--Component--HttpKernel--Exception--NotFoundHttpException Symfony\Component\HttpKernel\Exception\NotFoundHttpException Raised when an incoming request does not match any registered route, resulting in a 404 response. Laravel's router is built on Symfony's HttpKernel component.