·rust-errors
</>

rust-errors

epicenterhq/epicenter

Tauri アプリの Rust から TypeScript へのエラー処理パターン。 TypeScript に渡される Rust エラーを定義する場合、Tauri コマンド エラーを処理する場合、または判別共用体エラー タイプを作成する場合に使用します。

23インストール·1トレンド·@epicenterhq

インストール

$npx skills add https://github.com/epicenterhq/epicenter --skill rust-errors

SKILL.md

When passing errors from Rust to TypeScript through Tauri commands, use internally-tagged enums to create discriminated unions that TypeScript can handle naturally.

This pattern ensures clean, type-safe error handling across the Rust-TypeScript boundary with minimal boilerplate and maximum type safety.

Tauri アプリの Rust から TypeScript へのエラー処理パターン。 TypeScript に渡される Rust エラーを定義する場合、Tauri コマンド エラーを処理する場合、または判別共用体エラー タイプを作成する場合に使用します。 ソース: epicenterhq/epicenter。

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/epicenterhq/epicenter --skill rust-errors インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/epicenterhq/epicenter --skill rust-errors
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

rust-errors とは?

Tauri アプリの Rust から TypeScript へのエラー処理パターン。 TypeScript に渡される Rust エラーを定義する場合、Tauri コマンド エラーを処理する場合、または判別共用体エラー タイプを作成する場合に使用します。 ソース: epicenterhq/epicenter。

rust-errors のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/epicenterhq/epicenter --skill rust-errors インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/epicenterhq/epicenter