Implement a proper error handling strategy across the codebase:
- Define custom error types using
thiserror in each module
- Implement
From conversions for error propagation
- Replace
anyhow with typed errors in library code (keep anyhow in CLI)
- Add error codes for programmatic error handling
- Ensure all errors have useful context messages
This improves debuggability and allows callers to handle specific error cases.
Implement a proper error handling strategy across the codebase:
thiserrorin each moduleFromconversions for error propagationanyhowwith typed errors in library code (keepanyhowin CLI)This improves debuggability and allows callers to handle specific error cases.