Skip to main content
Run any Skill in Manus
with one click
$pwd:

handle-errors-in-code

// Guide for error handling in this Rust project. Covers the four principles (clarity, context, actionability, explicit enums over anyhow), the thiserror pattern for structured errors, including what/where/when/why context, writing actionable help text, and avoiding vague errors. Also covers the located-error package for errors with source location. Use when writing error types, handling Results, adding error variants, or reviewing error messages. Triggers on "error handling", "error type", "Result", "thiserror", "anyhow", "error enum", "error message", "handle error", "add error variant", or "located-error".

$ git log --oneline --stat
stars:510
forks:52
updated:May 22, 2026 at 08:44
SKILL.md
readonly