We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We ask the user to give us the package name, we can include it in the returned errors.
We could also add a IsNotExist(err) function for determining whether an error is because a file wasn't present.
The text was updated successfully, but these errors were encountered:
🤔 Perhaps you could return os.PathError{Err: os.ErrNotExist} as the error, which can be detected with errors.Is(err, os.ErrNotExist)?
os.PathError{Err: os.ErrNotExist}
errors.Is(err, os.ErrNotExist)
Sorry, something went wrong.
No branches or pull requests
We ask the user to give us the package name, we can include it in the returned errors.
We could also add a IsNotExist(err) function for determining whether an error is because a file wasn't present.
The text was updated successfully, but these errors were encountered: