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

Cryptic error messages #14

Open
kynex7510 opened this issue Jul 11, 2022 · 3 comments
Open

Cryptic error messages #14

kynex7510 opened this issue Jul 11, 2022 · 3 comments

Comments

@kynex7510
Copy link

I provide 4 paths, which one is it? Kindly implement better error handling.
image

@wwylele
Copy link
Owner

wwylele commented Jul 11, 2022

TODO list for myself:

  • remove generic conversion from io::Error to libsave3ds::Error
  • Give DiskFile a builder constructor like std::fs::File
  • Record file path in DiskFile, and report it on each potential failure point

Note that the code changes happens mostly in not unit-tested area, so doing #13 would be better

@patataofcourse
Copy link

i'm getting this same error too and i'm just really confused since all the paths i'm supplying exist - i've checked
anything i can do to troubleshoot?

@patataofcourse
Copy link

nevermind, i added an extra zero to the title ID. you might want to check those before trying to open directories

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

3 participants