nestjs-error-handling

Installation
SKILL.md

NestJS Error Handling Standards

Priority: P1 (OPERATIONAL)

  • Requirement: Centralize error formatting.
  • Platform Agnostic: not import Request/Response from Express/Fastify types directly.
  • Use: HttpAdapterHost to access underlying platform response methods.
  • const { httpAdapter } = this.httpAdapterHost;
  • Structure:
  • Implement strictly typed error responses.
  • Refer to API Standards for ApiErrorResponse.
Installs
2
GitHub Stars
521
First Seen
14 days ago
nestjs-error-handling — hoangnguyen0403/agent-skills-standard