Tauri Commands Error Handling

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.

stuffbucket Updated 4 repo stars

File contents

stuffbucket/skills commit d808a30f19

Frequently asked questions

npx get-skill add stuffbucket/tauri-commands-error-handling