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
api: returns errors from mongo error definitions #943
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
eduardoveiga
commented
May 14, 2021
- returns ErrNoDocuments if findOne returns nothing
- utilize Mongo-go-Driver errors definitions instead check error string
- don't ignore any error
eduardoveiga
force-pushed
the
topic/refactor_errors
branch
2 times, most recently
from
May 14, 2021 20:47
caefbae
to
8009e53
Compare
otavio
requested changes
May 14, 2021
eduardoveiga
force-pushed
the
topic/refactor_errors
branch
5 times, most recently
from
May 17, 2021 17:53
1496d92
to
305f617
Compare
otavio
reviewed
May 17, 2021
otavio
reviewed
May 17, 2021
eduardoveiga
force-pushed
the
topic/refactor_errors
branch
2 times, most recently
from
May 17, 2021 19:05
0fa2b41
to
24591cc
Compare
otavio
requested changes
May 17, 2021
eduardoveiga
force-pushed
the
topic/refactor_errors
branch
from
May 17, 2021 19:42
24591cc
to
3c52444
Compare
eduardoveiga
force-pushed
the
topic/refactor_errors
branch
from
May 18, 2021 16:42
3c52444
to
04bffd2
Compare
otavio
requested changes
May 18, 2021
eduardoveiga
force-pushed
the
topic/refactor_errors
branch
from
May 19, 2021 22:23
04bffd2
to
c8de22a
Compare
eduardoveiga
requested review from
otavio and
gustavosbarreto
and removed request for
leonardojoao
May 20, 2021 12:29
otavio
previously approved these changes
May 20, 2021
eduardoveiga
force-pushed
the
topic/refactor_errors
branch
from
May 20, 2021 12:58
c8de22a
to
ca11b60
Compare
returns ErrNoDocuments if findOne returns nothing utilize Mongo-go-Driver errors definitions instaed check error string don't ignore any error
eduardoveiga
force-pushed
the
topic/refactor_errors
branch
from
May 22, 2021 19:28
ca11b60
to
1211647
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.