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

test(errors): validate error object shapes and unique codes @W-14841223 #3949

Merged
merged 4 commits into from
Jan 22, 2024

Conversation

wjhsf
Copy link
Contributor

@wjhsf wjhsf commented Jan 17, 2024

Details

There's an old TODO to make a script to automatically generate the next error code. It was nevered, presumably because it doesn't add much value. However, given that error codes are split across files, the potential for accidental duplicates is much greater, so there is value in an automated check for that process.

Does this pull request introduce a breaking change?

  • ✅ No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • ✅ No, it does not introduce an observable change.

GUS work item

W-14841223

@wjhsf wjhsf requested a review from a team as a code owner January 17, 2024 21:50
Co-authored-by: Eugene Kashida <ekashida@gmail.com>
Copy link
Contributor

@nolanlawson nolanlawson left a comment

Choose a reason for hiding this comment

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

Nice!

@wjhsf wjhsf merged commit 69a6766 into master Jan 22, 2024
9 checks passed
@wjhsf wjhsf deleted the wjh/error-code-validation branch January 22, 2024 20:40
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.

None yet

3 participants