From helloagents
Guides robust error handling: classify expected/unexpected errors, unify structured formats/logs, add timeouts/retries/circuit breakers/degradation, prevent leaks/silent failures.
npx claudepluginhub hellowind777/helloagents --plugin helloagentsThis skill uses the workspace's default tool permissions.
错误处理相关代码必须遵循以下规范。
Provides error handling patterns like custom errors, structured logging, retries, circuit breakers for JavaScript/TypeScript apps including Express global handlers.
Guides error handling best practices to prevent silent failures, preserve context, and log effectively in try-catch blocks, propagation, and Result patterns.
Implements error handling patterns like retries, circuit breakers, and async error management for resilient apps, APIs, distributed systems, and debugging.
Share bugs, ideas, or general feedback.
错误处理相关代码必须遵循以下规范。
先分类可预期错误 vs 不可预期错误,再写代码。
{ code, message, details? }