-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
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
ashatrov
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
Status
Done