tauri-commands-error-handling

SKILLFlusso di lavorocommunity
v0.0.0stuffbucketMITAggiornato 16 g faFonte →

Use when designing production error handling for Tauri v2 commands — `thiserror` enums, manual `Serialize` impls emitting `{ kind, message }` for JS discriminated unions, `Result` returns, `?` propagation, panic safety at the IPC boundary, structured logging via `tracing`, and a typed `CommandError`

Community-submitted skill. Not yet reviewed by the Forge team. Full prompt content may not be available.Request review →
4Stelle del repo
1Client
1Formati
16 g faUltimo aggiornamento
Skill
Autorestuffbucket
Versione0.0.0
LicenzaMIT
CategoriaFlusso di lavoro
Formatiskill.md
PromptNon pubblicato
Compatibilità
Claude✓ Supportato
Cursor
Copilot
ChatGPT
Gemini
Descrizione

Use when designing production error handling for Tauri v2 commands — `thiserror` enums, manual `Serialize` impls emitting `{ kind, message }` for JS discriminated unions, `Result` returns, `?` propagation, panic safety at the IPC boundary, structured logging via `tracing`, and a typed `CommandError` union with exhaustiveness on the JS side.

Parole chiave
skillclaude