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

Epic: Error code cleanup #408

Open
Tracked by #536
lukekarrys opened this issue Nov 4, 2021 · 0 comments
Open
Tracked by #536

Epic: Error code cleanup #408

lukekarrys opened this issue Nov 4, 2021 · 0 comments
Labels

Comments

@lukekarrys
Copy link
Contributor

lukekarrys commented Nov 4, 2021

We have a number of error codes in the cli and dependencies and we should make sure they are consistent when thrown so we can display them consistently.

A running list of ones I've found that need updating/discussing:

  • E<CMD>GLOBAL these are prefixed with the command name but maybe they should all be EGLOBAL with a standard error message
  • E<CMD><ARGS|SET|DELETE>: I think these could all be EUSAGE errors
  • ENOWORKSPACES
  • Not a code specifically but we throw errors for invalid config. With npm9 config we can rip all those out. See npm profile --json
@lukekarrys lukekarrys added the epic label Nov 4, 2021
@darcyclarke darcyclarke changed the title Error codes Epic: Error code cleanup Mar 23, 2022
@darcyclarke darcyclarke mentioned this issue Mar 23, 2022
32 tasks
@darcyclarke darcyclarke mentioned this issue Aug 22, 2022
46 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant