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.
Fine for apps, not for libraries
Date: 2023-01-09 06:09 pm (UTC)