tag
m13▌
2 indexed skills · max 10 per page
skills (2)
m13-domain-error
actionbook/rust-skills · AI/ML
Layer 2: Design Choices
m13-domain-error
zhanghandong/rust-skills · AI/ML
Design error handling by categorizing who handles each error and how they recover. \n \n Distinguish between user-facing errors (actionable messages), internal errors (debug details), system errors (monitoring), and transient vs. permanent failures to determine recovery strategy \n Use typed error enums with thiserror and implement is_retryable() checks to enable appropriate handling patterns \n Apply recovery strategies: retry with exponential backoff for transient failures, fallback values for