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

Make enums non-exhaustive or private #179

Merged
merged 2 commits into from
Oct 9, 2024
Merged

Conversation

alexrudy
Copy link
Owner

@alexrudy alexrudy commented Oct 9, 2024

This should improve future semver compatibility

Allows for future error type extensions without violating semver
These were exposed as enums, but should not be, so hide them inside structs for now.
@alexrudy alexrudy merged commit c7ea6c2 into main Oct 9, 2024
12 checks passed
@alexrudy alexrudy deleted the fix/pub-enum-non-exhaustive branch October 9, 2024 01:10
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.

1 participant