-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Expose a storage.ErrNotExists for non existing documents #3083
Comments
I'm not sure that I would agree that a document not existing is an We could add a |
We might want tot just create our own |
sounds great |
Ready for next release on |
Is your feature request related to a problem? Please describe:
My code cannot check an error returned by, such as app.Storage().Save() with errors.Is()
Is it possible to construct a solution with the existing API?
Such as
return os.ErrNotExist
fordocument with name * does not exist
Describe the solution you'd like to see:
Please use standard errors from Go packages instead of using errors.New()
The text was updated successfully, but these errors were encountered: