nodejs-error-handling - Handle Node.js Errors Across Application Layers
Guides Node.js error classification, typed errors, framework middleware, structured logging, propagation, and graceful shutdown.
Tags
Updated: 2026-12-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Classify operational errors
- Design typed error hierarchies
- Translate database errors
- Handle framework error middleware
- Propagate asynchronous errors
- Configure structured error logging
- Initiate graceful shutdowns
Inputs
- Node.js application context
- Web framework context
- Error scenarios
- Logging requirements
- Shutdown requirements
Outputs
- Error-handling architecture guidance
- Node.js code examples
- Middleware configuration guidance
- Structured logging guidance
- Graceful shutdown guidance
Requirements
- Node.js project context
