Hacker News new | past | comments | ask | show | jobs | submit login

+1 for snafu. It lets you blend anyhow style errors for application code with precise errors for library code. .context/.with_context is also a lovely way to propagate errors between different Result types.





How does that compare to "this error for libraries and anyhow for applications"?

You don't have to keep converting between error types :)



Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: