NestJS ships an excellent structured exception layer — typed HTTP exceptions, consistent error shapes, and a single place to map errors to responses. Projects built on plain Express or Fastify usually rebuild that by hand, inconsistently.
nest-exception bridges that gap by offering the same structured
error-handling experience to projects outside of NestJS.
What it does
- Typed HTTP exception classes with consistent serialization
- One predictable error response shape across an entire service
- Drop-in for Express and Fastify applications
Stack
TypeScript, Node.js.