CodeZettaInterview Hub

NestJS · Exception Filters · Fresh / Intern · Concept

What does an exception filter do?

Short Interview Answer

Catches thrown errors and turns them into HTTP (or RPC) responses with consistent shape.

Detailed Explanation

Implements ExceptionFilter / @Catch. Global filters standardize API errors.

Did you know this answer?