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

chore(gatsby-cli): Categorize errors #27449

Merged
merged 2 commits into from
Oct 15, 2020

Conversation

julienp
Copy link
Contributor

@julienp julienp commented Oct 14, 2020

Description

Categorize a first set of errors that I'm pretty sure are all ErrorCategory.USER.

Documentation

Related Issues

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Oct 14, 2020
pvdz
pvdz previously approved these changes Oct 14, 2020
@LekoArts LekoArts added topic: cli Related to the Gatsby CLI and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Oct 14, 2020
@LekoArts
Copy link
Contributor

As per #27434 it would be fitting to change category?: keyof typeof Category in this PR so that external users get the correct types.

abhiaiyer91
abhiaiyer91 previously approved these changes Oct 14, 2020
@julienp julienp force-pushed the julienp/error-category branch from 834a1e8 to ca6e337 Compare October 14, 2020 15:47
Copy link
Contributor

@wardpeet wardpeet left a comment

Choose a reason for hiding this comment

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

Awesome job @julienp this is great! I'll check out my own comments to see how we can improve or maybe split up those errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes topic: cli Related to the Gatsby CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants