3 ms·
At this point I'm quite happy with error handling in Rust. I just wish the backtrace member on the error trait was not nightly only and we had the ability to at
by the_mitsuhiko 6y ago
At this point I'm quite happy with error handling in Rust. I just wish the backtrace member on the error trait was not nightly only and we had the ability to attach backtraces to errors.
- conradludgate 6y agoI'm pretty sure eyre[0] can provide backtraces in stable using `stable-eyre` [0]: https://docs.rs/eyre/0.6.5/eyre/ https://docs.rs/eyre/0.6.5/eyre/
- tiddles 6y agoI've migrated a few big projects through several iterations of different error handling crates, which was always painful. For now I've settled on thiserror, but only until backtraces are stable - then it's back to the churn :)