Skip to main content

rust-error-handling

Rust 錯誤處理模式技能。涵蓋 Result<T,E> 與 Option<T> 模式、? 運算子錯誤傳播、 thiserror 2.0 自訂錯誤類型、anyhow 應用層錯誤、自訂 Error trait 實作、 From trait 轉換、error chain、panic 與 unwrap 使用時機、錯誤處理最佳實踐。 觸發關鍵詞:Rust error handling, Result, Option, thiserror, anyhow, ? operator, unwrap, expect, Error trait, From conversion, error propagation, custom error type, error chain, panic

跳到安装

来源信息

仓库
luckyegg168/rust-skill
最近来源活动
2026年3月29日 15:16
检测到的 SKILL.md 语言
中文
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。