error-handling

Installation
SKILL.md

Node.js Error Handling Skill

Master error handling patterns for building resilient Node.js applications that fail gracefully and provide meaningful feedback.

Quick Start

Error handling in 4 layers:

  1. Custom Error Classes - Typed, informative errors
  2. Try/Catch Patterns - Sync and async handling
  3. Express Middleware - Centralized API errors
  4. Process Handlers - Uncaught exceptions

Core Concepts

Custom Error Classes

// Base application error
class AppError extends Error {
  constructor(message, statusCode, code) {
Related skills
Installs
44
GitHub Stars
2
First Seen
Jan 24, 2026