Closed
Description
Exception handling is mentioned in the installation portion of the tutorial-app https://laraveljsonapi.io/docs/3.0/getting-started/#exception-handler
In Laravel 11.x that default Handler is removed, and instead bootstrap/app.php
is supposed to be used as in
->withExceptions(function (Exceptions $exceptions) {
$exceptions->report(function (InvalidOrderException $e) { // from laravel 11.x docs example
// ...
});
})
How do I set up the laravel-json-api Exception Handling in laravel 11.x
Metadata
Metadata
Assignees
Type
Projects
Status
Done