error-handling
Installation
SKILL.md
Error Handling Skill
Master Rust's explicit, type-safe error handling with Result and Option.
Quick Start
Option - For Absent Values
fn find_user(id: u32) -> Option<User> {
if id == 0 {
None
} else {
Some(User { id, name: "Alice".into() })
}
}
// Handling Option
match find_user(1) {
Related skills
More from pluginagentmarketplace/custom-plugin-rust
rust-wasm
Master WebAssembly with Rust - wasm-pack, wasm-bindgen, and browser integration
46rust-performance
Master Rust performance - profiling, benchmarking, and optimization
12rust-docker
Master Docker containerization for Rust applications
5rust-cli
Build professional CLI applications with clap and TUI
4rust-testing
Master Rust testing - unit tests, integration tests, mocking, and TDD
4cargo-ecosystem
Master Cargo, testing, and Rust development tools
4