Error Handling Patterns

Designs robust, production-grade error handling — choosing between result types and exceptions, implementing retries with exponential backoff and jitter, applying timeouts and deadlines, adding circuit breakers, and building graceful degradation and fallbacks. Use this skill when writing or reviewing code that calls networks/databases/external APIs, when asked to "make this resilient", "add retry logic", "handle failures", "add timeouts", "handle errors properly", "make this fault tolerant", "add a circuit breaker", "stop swallowing exceptions", or when classifying errors as transient vs permanent and deciding what to retry, fail fast, or degrade.

JayRHa 9862fc8 7 files · 46.5 KB Updated

File contents

JayRHa/AgentSkills/tree/main/error-handling-patterns commit 9862fc81ea

Frequently asked questions

npx skillmds@latest add jayrha/error-handling-patterns