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

Structural errors #38

Open
andrewbaxter opened this issue Dec 24, 2022 · 0 comments
Open

Structural errors #38

andrewbaxter opened this issue Dec 24, 2022 · 0 comments

Comments

@andrewbaxter
Copy link
Owner

I've been using anyhow, but in the long run if someone wants to use it as a library it would probably be good to have a proper error enumeration. Specifically the following could be useful

  • File not found
  • Other FS error
  • Errors with line numbers
  • Other formatting errors

Plainly exposing internal errors isn't great because they might be missing context about their cause.

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