rust-failure-handling
Languages & FrameworksGuides the design and review of Rust failure handling by sorting each failure point into normal absence, recoverable error, or genuine bug; choosing between Option, typed Result enums built with thiserror at library boundaries, and context-rich anyhow errors inside applications; propagating with the question-mark operator and From conversions while preserving cause chains; and policing unwrap, expect, and panic, including the bounded startup-configuration exception. Use when writing, refactoring, or reviewing Rust that can fail, when defining error enums and conversions, or when judging whether a panic is justified. Not for async cancellation and executor failure semantics, panics crossing an FFI boundary, or languages other than Rust.
- Version
- v1.0.0
- Size
- 18 KB
- Updated
- 2026-10-11
$ skilvault read --manual rust-failure-handlingYour client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.