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

fix: make error codes consistent #1054

Merged
merged 2 commits into from
Dec 7, 2021
Merged

fix: make error codes consistent #1054

merged 2 commits into from
Dec 7, 2021

Conversation

achingbrain
Copy link
Member

Sometimes they are NOT_FOUND, sometimes ERR_NOT_FOUND, etc.

Move all error codes into errors.js and reference them from there.

Sometimes they are `NOT_FOUND`, sometimes `ERR_NOT_FOUND`, etc.

Move all error codes into `errors.js` and reference them from there.
Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@achingbrain achingbrain merged commit b25e0fe into master Dec 7, 2021
@achingbrain achingbrain deleted the chore/fix-error-codes branch December 7, 2021 14:42
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

Successfully merging this pull request may close these issues.

2 participants