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

In Rust, I think it's more idiomatic to just implement the `Display` trait on you error type so that you can generate the string when you need it instead of at the time the error occurs


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

Search: