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

Error message formatting #31

Open
cmatsuoka opened this issue Nov 9, 2021 · 1 comment
Open

Error message formatting #31

cmatsuoka opened this issue Nov 9, 2021 · 1 comment
Labels
triaged Will be worked on at some point

Comments

@cmatsuoka
Copy link
Contributor

The emitter error() method could offer a way for the user to format the error message e.g. adding a prefix such as "Error: ".

@jugmac00
Copy link
Member

jugmac00 commented Mar 4, 2022

That would be pretty handy!

Additionally, I suggest to offer a way to output error messages e.g. in red.
If you decide to implement colored output, please also have a look at https://no-color.org/

@facundobatista facundobatista added the triaged Will be worked on at some point label Mar 9, 2022
tigarmo pushed a commit that referenced this issue Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged Will be worked on at some point
Projects
None yet
Development

No branches or pull requests

3 participants