Y
Hacker News
new
|
ask
|
show
|
jobs
by
smj-edison
410 days ago
+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.
1 comments
bonzini
410 days ago
How does that compare to "this error for libraries and anyhow for applications"?
link
smj-edison
410 days ago
You don't have to keep converting between error types :)
link