Closed icazemier closed 1 year ago
Hi @icazemier
Can't replicate the issue you're having. Please provide a minimum reproducible repo.
Oh no! I can't reproduce it either on a dedicated project: https://github.com/icazemier/nextjs-api-decorator-catch-all
Let's close this ticket, excuse me for the fuss.
Hi,
I'm using :
With a Catch all handler:
But it always passes a
InternalServerErrorException
:While I throw:
or for that matter:
Expected:
The message is passed through, but the status code is not! Sometimes I just want to pass through the http status code together with the message 🙏🏻