Question · NestJS course · Module 6: Error Handling and Monitoring

What is an Exception Filter?

What is an Exception Filter in NestJS?

Answer options

  • A class that intercepts exceptions and formats error responses
  • Middleware that filters HTTP requests
  • A guard that checks user permissions
  • A pipe that validates input data

You can check the correct answer by solving this task in the CodeWorlds game.