NestJS Error Handling Standards Priority: P1 (OPERATIONAL) - Requirement : Centralize error formatting. - Platform Agnostic : not import / from Express/Fastify types directly. - Use : to access underlying platform response methods. - - Structure : - Implement strictly typed error responses. - Refer to API Standards for . Error Flow 1. Service : Throws specific or generic errors (e.g., ). 2. Interceptor : Maps low-level errors to HTTP Exceptions (e.g., ). - Why : Keeps Exception Filters focused on formatting, not business logic interpretation. 3. Global Filter : Formats final JSON response. Bu…