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

Add common proc to write errors #325

Open
ee7 opened this issue May 11, 2021 · 0 comments
Open

Add common proc to write errors #325

ee7 opened this issue May 11, 2021 · 0 comments
Labels
kind: refactor Change to production code that does not fix a bug or add a feature

Comments

@ee7
Copy link
Member

ee7 commented May 11, 2021

We should add an exported writeError proc or similar.

The one in cli.nim also writes the help text, which isn't always what we want.

@ee7 ee7 added the kind: refactor Change to production code that does not fix a bug or add a feature label May 11, 2021
ee7 added a commit that referenced this issue Oct 28, 2022
This also prepares for refactoring the error handling everywhere,
preferring to raise an exception rather than calling a deep `quit`.

Refs: #123
Refs: #325
Closes: #696
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: refactor Change to production code that does not fix a bug or add a feature
Projects
None yet
Development

No branches or pull requests

1 participant