I\'m using my own middleware to capture exceptions thrown in my API to format the response to the client. This includes things like checking for the dev env to send additional i