
Description
m13-domain-error is a Rust agent skill from the actionbook/rust-skills collection for designing error handling at the domain level. It covers error categorization, recovery strategies such as retry and fallback, domain error hierarchies and user-facing errors. Its core question is who needs to handle a given error and how they should recover. Before designing error types, the agent decides whether an error is user-facing or internal, whether recovery is possible, and what context will be needed for debugging. It then categorizes errors to match. The skill sits in the collection's design-choices layer and suits Rust developers building services or libraries that need deliberate error design rather than ad hoc error types.…
Highlights
- Error categorization by audience
- Retry and fallback recovery strategies
- Domain error hierarchies
- Debug context requirements
Ratings & Reviews
No ratings yet
Be the first to rate m13-domain-error.
People also visit
m13-domain-error FAQ
What question guides this skill?
Who needs to handle this error, and how should they recover?
What is the install command?
Run `npx skills add https://github.com/actionbook/rust-skills --skill m13-domain-error` to add it to a supported coding agent through the skills CLI.
What does the agent decide before writing error types?
Whether the error is user-facing or internal, whether recovery is possible, and what context is needed for debugging.
Which recovery strategies are mentioned?
Retry and fallback, along with building a domain error hierarchy.
What did the security audits report?
The skills.sh page lists these results: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best m13-domain-error alternatives?
Popular alternatives to m13-domain-error include m09-domain, m06-error-handling and error-handling. See all m13-domain-error alternatives















