Hacker News new | ask | show | jobs
by bigstrat2003 294 days ago
I do when prototyping. Long term you don't really want to pass around &str errors, but they are quick and dirty and easy to get rolling with.
2 comments

Seems just as quick to make an enum with thiserror string conversion? Not much boilerplate at least.
You can also use eyre! with it's accompanying Result for even easier and faster development.