Fine for apps, not for libraries

Date: 2023-01-09 06:09 pm (UTC)
From: (Anonymous)
On the whole, I agree here. I think that this approach is fine for *applications*, but for *libraries*, I find myself always wrapping up in my own error type anyways. `let x = some_fallible_call().map_err(|err| MyError::detail(ctx, err))?;` is common enough that I don't think this saves much on the whole.
(will be screened)
(will be screened if not on Access List)
(will be screened if not on Access List)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

diziet: (Default)
Ian Jackson

March 2025

S M T W T F S
      1
2345678
9101112131415
16171819202122
2324252627 2829
3031     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags