Y
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
adastra22
294 days ago
Seems just as quick to make an enum with thiserror string conversion? Not much boilerplate at least.
link
lawn
294 days ago
You can also use eyre! with it's accompanying Result for even easier and faster development.
link