craftablescience / craftablescience/VPKEdit

Add specific error message for if a file is invalid

Open
#196 0 comments 0 reactions 1 assignee View on GitHub

@craftablescience is already working on this.

Since Nov 27, 2024.

enhancement
Dominant language
C++
Stars
746
Forks
56
Avg merge
5d 16h
Merged PRs (30d)
2

Description

Describe Your Suggestion

Currently if you attempt to open a file which is invalid or not a supported file type, it will tell you to make sure the file isn't in use by another program even though that's not the issue and won't actually help anything. The failure is happening at 2 distinct places here (opening the file vs. reading its contents), so there should be a unique error message for the latter that explains that the file may be corrupt or an unsupported format which happens to share the same extension.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.