Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
smj-edison
21 hours ago
|
parent
|
context
|
favorite
| on:
Matt Godbolt sold me on Rust by showing me C++
+1 for snafu. It lets you blend anyhow style errors for application code with precise errors for library code. .context/.with_context is also a lovely way to propagate errors between different Result types.
bonzini
21 hours ago
[–]
How does that compare to "this error for libraries and anyhow for applications"?
reply
smj-edison
20 hours ago
|
parent
[–]
You don't have to keep converting between error types :)
reply
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: