Why is my Laravel 11 exception handler not working?
Using Laravel 11, exception handling is moved to the bootstrap/app.php
file. I’m trying to catch AuthorizationException
and pass the user back to the dashboard with the 403 message:
Using Laravel 11, exception handling is moved to the bootstrap/app.php
file. I’m trying to catch AuthorizationException
and pass the user back to the dashboard with the 403 message: