Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة
$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:٥١٠
forks:٥٢
updated:٢٢ مايو ٢٠٢٦ في ٠٨:٤٤
SKILL.md
readonly