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