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

Improve error message when the input file is not found #513

Closed
developedby opened this issue May 27, 2024 · 0 comments · Fixed by #628
Closed

Improve error message when the input file is not found #513

developedby opened this issue May 27, 2024 · 0 comments · Fixed by #628
Assignees
Labels
compilation Compilation of terms and functions to HVM enhancement New feature or request

Comments

@developedby
Copy link
Member

Currently, we just forward the message given by std::fs::read_to_string: No such file or directory (os error 2).
We should instead give an error that more properly explains what went wrong.

Also, this same error message will show up when the HVM doesn't find its input file (in the case of the intermediary .out.hvm), so it's even more confusing

@developedby developedby added enhancement New feature or request compilation Compilation of terms and functions to HVM labels May 27, 2024
@imaqtkatt imaqtkatt self-assigned this Jul 10, 2024
@imaqtkatt imaqtkatt linked a pull request Jul 10, 2024 that will close this issue
github-merge-queue bot pushed a commit that referenced this issue Jul 11, 2024
…when-the-input-file-is-not-found

#513 Improve error message when the input file is not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compilation Compilation of terms and functions to HVM enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants