Someone wrote in [personal profile] diziet 2023-01-09 06:09 pm (UTC)

Fine for apps, not for libraries

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.

Post a comment in response:

(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