error handling patterns
✓iOS/tvOS 的专家错误处理决策:何时使用抛出与结果、错误类型设计权衡、恢复策略选择以及面向用户的错误呈现模式。在设计错误层次结构、实现重试逻辑或决定如何向用户显示错误时使用。触发关键字:Error、throws、Result、LocalizedError、重试、恢复、错误呈现、do-catch、try、错误处理、失败
SKILL.md
Expert decision frameworks for error handling choices. Claude knows Swift error syntax — this skill provides judgment calls for error type design and recovery strategies.
When Result wins: Parsing, validation, operations where failure is common and needs explicit handling. Forces exhaustive switch.
When throws wins: Network calls, file operations where failure is exceptional. Cleaner syntax with async/await.
iOS/tvOS 的专家错误处理决策:何时使用抛出与结果、错误类型设计权衡、恢复策略选择以及面向用户的错误呈现模式。在设计错误层次结构、实现重试逻辑或决定如何向用户显示错误时使用。触发关键字:Error、throws、Result、LocalizedError、重试、恢复、错误呈现、do-catch、try、错误处理、失败 来源:kaakati/rails-enterprise-dev。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/kaakati/rails-enterprise-dev --skill error handling patterns- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-13
- 更新时间
- 2026-02-18
快速解答
什么是 error handling patterns?
iOS/tvOS 的专家错误处理决策:何时使用抛出与结果、错误类型设计权衡、恢复策略选择以及面向用户的错误呈现模式。在设计错误层次结构、实现重试逻辑或决定如何向用户显示错误时使用。触发关键字:Error、throws、Result、LocalizedError、重试、恢复、错误呈现、do-catch、try、错误处理、失败 来源:kaakati/rails-enterprise-dev。
如何安装 error handling patterns?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/kaakati/rails-enterprise-dev --skill error handling patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/kaakati/rails-enterprise-dev
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-13