Skip to content

Make PrivacyPassError a struct for better backwards-compatibility.#40

Merged
fboemer merged 1 commit intomainfrom
fboemer/internal-error
Oct 7, 2024
Merged

Make PrivacyPassError a struct for better backwards-compatibility.#40
fboemer merged 1 commit intomainfrom
fboemer/internal-error

Conversation

@fboemer
Copy link
Contributor

@fboemer fboemer commented Oct 7, 2024

Adding a case to a public enum is a source-breaking change.
To avoid this, (especially since we aren't yet at 1.0.0), we refactor the error type to hide the underlying enum.

@fboemer fboemer merged commit ccb849c into main Oct 7, 2024
@fboemer fboemer deleted the fboemer/internal-error branch October 7, 2024 22:13
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.

2 participants