ErrorHandling while TDD

I’m building an API in a TDD way. I created a Handler wild card to catch all error in the HTTP life cycle. I would like to know if those can be injected in vow so while I’m testing the test console output can tell me E_ROUTE_NOT_FOUND: Route not found PUT /user/edit. After I create the route, then it should console out that the method update doesn’t exist and so forth.

As right now, I’m going around with postman and getting the errors from the response. It would be nice if I can get those error in the console while testing.

Hey @diazgilberto! :wave:

Is there any reason to not use the Global Exception Handler?

The global Handler is not the one you get when adonis make:ehandler? If so, that is the one I created and using.