bb-tech-error-handling

Community

Robust backend error handling and sanitization.

Authorvalentinmathey
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manejo robusto de errores inesperados, limpieza de logs en el backend y sanitización para respuestas al cliente.

Core Features & Use Cases

  • Seguridad en Stack Traces: Nunca exponer trazas ni mensajes crudos al cliente, salvo en entornos dev.
  • Clases de Error Customizadas: Las validaciones deben usar clases semánticas (p.ej. NotFoundError, BusinessLogicError, UnauthorizedError) mapeadas a códigos de estado HTTP.
  • Logger Centralizado + Sanitización: Si un proceso falla, el error técnico completo debe registrarse en consola y el cliente debe recibir una respuesta controlada y genérica.

Quick Start

Configure your Express services to catch exceptions, throw NotFoundError or BusinessLogicError, and respond with sanitized, user-friendly error messages.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: bb-tech-error-handling
Download link: https://github.com/valentinmathey/Skills-Back-Automation/archive/main.zip#bb-tech-error-handling

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.