Closed leandroruel closed 5 years ago
Hi @leandroruel
Basically just throw the relevant http exception with whatever message you want. There are many HTTP exceptions in Symphony's http kernel, and some more in Dingo.
Have a look at boilerplate code, there are plenty of examples in the controllers.
thank you, found it! shared this repo in my twitter too
Awesome, thanks @leandroruel ! :smile:
how i should return error messages it has anything documented about that? like, i'm doing a function to return followers and in my UserController i return just:
any pattern?