CodeZettaInterview Hub

NestJS · Exception Filters · Mid-Level · Comparison

Built-in vs custom filters — when custom?

Short Interview Answer

Custom when you need stable error codes, i18n messages, or special logging/metrics on failures.

Detailed Explanation

Keep BaseExceptionFilter behaviors in mind. Test filter output contracts.

Did you know this answer?