error-handler

Community

Robust error handling for TS and Python.

Authorbenshapyro
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides battle-tested error handling patterns, including custom error classes, structured responses, and best practices for logging and propagation.

Core Features & Use Cases

  • Custom Error Classes: TypeScript and Python error classes (AppError, ValidationError, NotFoundError, DatabaseError)
  • Error Response Formats: Consistent client-facing error payloads
  • Logging & Propagation: Structured logging and safe propagation

Quick Start

Implement a ValidationError for bad input and wrap unknown errors in a DatabaseError

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: error-handler
Download link: https://github.com/benshapyro/cadre-devkit-claude/archive/main.zip#error-handler

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository