Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Expose color-eyre Handler sections #196

Open
sclu1034 opened this issue Aug 22, 2024 · 0 comments
Open

Feature: Expose color-eyre Handler sections #196

sclu1034 opened this issue Aug 22, 2024 · 0 comments

Comments

@sclu1034
Copy link

Motivation

For a UI error dialog, I'd like to be able to only displays specific HelpInfo sections and separately from the error message. I'd also like to arrange and style the header and text.

Feature suggestion

Expose the list of HelpInfos in a color_eyre::Report. Either on the Report directly, or on Handler, where they can be accessed with err.handler().downcast_ref::<Handler>().

@sclu1034 sclu1034 changed the title Feature: Expose Handler sections Feature: Expose color-eyre Handler sections Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant