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

Consolidate error codes into the big enum #19948

Merged
merged 5 commits into from
Feb 4, 2025
Merged

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Feb 4, 2025

I've been wanting to do this cleanup for quite some time.

This consolidates the last error codes that were spread out around the code base and puts them in the enum, and also of course in the string lookup. So now, we can log even these error codes in a readable format.

It doesn't completely clean up all the naming convention differences, but that can be done later.

No functionality difference, this is just cleanup.

@hrydgard hrydgard added the Code Cleanup Cleanup to make future work easier. Needs to be done sometimes. label Feb 4, 2025
@hrydgard hrydgard added this to the v1.19.0 milestone Feb 4, 2025
@hrydgard hrydgard merged commit caf7b10 into master Feb 4, 2025
19 checks passed
@hrydgard hrydgard deleted the more-error-code-work branch February 4, 2025 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup Cleanup to make future work easier. Needs to be done sometimes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants