Explore Library
Quiz

Exception Filter Binding Scope & Order

Understanding how NestJS resolves exception filters across method, controller, and global scopes.

You register a global exception filter via app.useGlobalFilters() and also apply a method-scoped @UseFilters() filter that only catches HttpException. A thrown HttpException reaches the method-scoped filter. If that filter's catch() logic completes without sending a response (e.g. it forgets to call response.send()), what happens?