I'm getting in Postman a 200 status from thrown exception (status 404) from the controller and passed through the interceptor. I've read this https://docs.nestjs.com/exception-filters#catch-everything and use it in interceptor class but I tried some way and I'm getting differents errors, How can I get an approach that I could use to throw the status that I need and also passing through the interceptor?. You could see my shared question in Stack overFlow https://stackoverflow.com/questions/76372124/how-to-catch-exception-in-interceptor-inside-catcherror-operator
I'm making a logging interceptor to log every http calls from an API,In happy path everything works fine but when I throw an exception I'm getting in Postman a 200 status from thrown exception (sta...
Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).