·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 中使用

这个 Skill 的源码在哪?

https://github.com/epicenterhq/epicenter

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01