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

Use ErrorCode for error code enum #144

Open
grof opened this issue Dec 23, 2022 · 0 comments
Open

Use ErrorCode for error code enum #144

grof opened this issue Dec 23, 2022 · 0 comments
Labels
code hygiene Code changes to improve the sanity and readability of the code base.

Comments

@grof
Copy link
Collaborator

grof commented Dec 23, 2022

There is a Codes enum in src/utils/errors.ts. Best practice for naming enum is to use singular. "Code" just by itself is not very descriptive so let's rename to "ErrorCode".

@grof grof added the code hygiene Code changes to improve the sanity and readability of the code base. label Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code hygiene Code changes to improve the sanity and readability of the code base.
Projects
None yet
Development

No branches or pull requests

1 participant