Skip to main content
在 Manus 中运行任何 Skill
一键导入

global-error-handling

星标0
分支0
更新时间2026年2月7日 10:02

Implement robust error handling with user-friendly messages, specific exception types, centralized error boundaries, graceful degradation, retry strategies, and proper resource cleanup. Use this skill when handling errors in backend or frontend code; when providing clear, actionable error messages to users; when validating input and failing fast with explicit error messages; when using specific exception types instead of generic errors; when implementing centralized error handling at appropriate boundaries; when designing systems to degrade gracefully when services fail; when implementing retry strategies with exponential backoff for external service calls; when cleaning up resources in finally blocks or equivalent mechanisms; when handling errors in React components with error boundaries; when logging errors for debugging and monitoring; or when structuring error handling across the application architecture.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly