Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> On the one hand, at lower-levels you want to exhaustively enumerate errors...

> On the other hand, at higher-levels, you want to string together widely different functionality from many separate subsystems without worrying about specific errors...

I feel like the Rust ecosystem of crates has naturally grown to handle these two ideas pretty well. `anyhow` for applications, `thiserror` for libraries.





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

Search: