home/categories/architecture-patterns/see2et-bakopa-vr-codex-skills-rust-error-handling-skill-md
architecture-patternsdevelopment

rust-error-handling

Rustでのエラー設計を、境界ごとに thiserror / anyhow を使い分けて実装する。ドメイン/ライブラリは型付きエラー(thiserror)、アプリ境界のみ anyow。context付与、unwrap禁止、HTTP/CLI変換の指針を含む。

See2et
maintainer
See2et
更新于 1/8/2026
星标
1
分支
0
quick start

Installation and usage

Rustでのエラー設計を、境界ごとに thiserror / anyhow を使い分けて実装する。ドメイン/ライブラリは型付きエラー(thiserror)、アプリ境界のみ anyow。context付与、unwrap禁止、HTTP/CLI変換の指針を含む。

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use rust-error-handling