eyre-rs / color-eyre

Custom hooks for colorful human oriented error reports via panics and the eyre crate
Other
958 stars 57 forks source link

Add HelpInfo::Report and Section::{report, with_report} functions #125

Open SergeyKasmy opened 1 year ago

SergeyKasmy commented 1 year ago

This is a future request from https://github.com/yaahc/color-eyre/issues/122. This way you can attach eyre::Report to an error (and not just types that implement std::error::Error). I haven't done any docs since I'm not sure whether this will be merged or not.