About
This skill equips Claude with the specific principles and implementation guidelines required to handle errors professionally in Rust. It focuses on the core distinction between recoverable errors using Result<T, E> and irrecoverable situations using panic!. By utilizing this skill, developers can ensure their Rust projects follow best practices such as using enums for error types, maintaining error cause chains via the source trait, and appropriately converting errors at architectural boundaries. It promotes high-quality code by discouraging the unsafe use of unwrap() and expect() in production environments.