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

thiserror automates all of that: https://docs.rs/thiserror/latest/thiserror/ Highly recommended.


Sure, but it's an additional dependency. I would prefer it if some of this machinery were added to `core`.




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

Search: