nestjs-error-handling
Installation
SKILL.md
NestJS Error Handling Standards
Priority: P1 (OPERATIONAL)
- Requirement: Centralize error formatting.
- Platform Agnostic: not import
Request/Responsefrom Express/Fastify types directly. - Use:
HttpAdapterHostto access underlying platform response methods. const { httpAdapter } = this.httpAdapterHost;- Structure:
- Implement strictly typed error responses.
- Refer to API Standards for
ApiErrorResponse.