Posts by João Paulo Ferreira da Silva • 41 points
1 post
-
4
votes1
answer483
viewsQ: When and where to handle exceptions with Laravel in developing an API
I’m having some doubts when it comes to handling errors in an API. We should always treat an Exception? It would be correct to return a message like the one below? Return: { "success" : false,…