Skip to content
ai101.tools
navigateopenescclose
Claude+372Whisper+228LangChain+168Codex+223NotebookLM+276DALL-E 3+192DeepL+249n8n+208Topaz Video AI+153LlamaIndex+161
Error Handling Patterns logo
Skill

Error Handling Patterns

Decides which failures are values and which are exceptions.

0
SaveVisit website ↗

Install

/plugin marketplace add wshobson/agents; /plugin install developer-essentials
Triggers on

When error handling is being designed for a feature, an API surface, or a distributed call path.

Author
wshobson
License
MIT

The skill separates expected failures — validation, a rejected payment, a rate limit — from genuinely exceptional ones, and picks the mechanism accordingly: Result and Option types for the first, exceptions for the second, a hard stop for programmer bugs. Around that it covers retries, circuit breakers and graceful degradation for calls that cross a network boundary. Context preservation runs through all of it, since an error that loses its stack and its metadata costs more in debugging than it saved in code.

Comments(0)

Sign in to comment

No comments yet — be the first.

Similar skills

Report this comment

Why are you reporting this?