Error Handling

Design structured application error handling — error type hierarchy, error codes, propagation strategy (throw vs return), user-facing vs internal messages, HTTP error response format, async error safety, and React error boundaries. Use when asked to "improve error handling", "structured errors", "error codes", "error types", "don't swallow errors", "unhandled promise rejection", "error boundary", "error response format", "what to show users when something fails", or before shipping any feature that calls external services or parses user input. Do NOT use for: logging infrastructure — see observability-instrumentation. Do NOT use for: resilience retry/circuit-breaker — see resilience-patterns.

yanacuti1121 80f39d4 7.1 KB Updated 2 repo stars

File contents

yanacuti1121/Yana-AI/tree/main/core/skills/error-handling commit 80f39d453b

Frequently asked questions

npx skillmds add yanacuti1121/error-handling