Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bigstrat2003
4 months ago
|
parent
|
context
|
favorite
| on:
Ergonomic errors in Rust: write fast, debug with e...
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.
adastra22
4 months ago
|
next
[–]
Seems just as quick to make an enum with thiserror string conversion? Not much boilerplate at least.
lawn
4 months ago
|
prev
[–]
You can also use eyre! with it's accompanying Result for even easier and faster development.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: