error-handling-best-practice

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

错误处理规范 (Error Handling Best Practice)

Error Handling Specification (Error Handling Best Practice)

使用说明

Usage Instructions

  1. 阅读 references/checklist.md 获取完整检查清单(6 项规则)
  2. 参考 references/patterns.md 了解正确与错误示例
配合工具: 使用
check-try-catch
技能自动扫描代码中的不规范错误处理
  1. Read references/checklist.md to get the complete checklist (6 rules)
  2. Refer to references/patterns.md to learn about correct and incorrect examples
Supporting Tools: Use the
check-try-catch
skill to automatically scan non-standard error handling in code