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

feat: fallible setters should return result #36

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

KSXGitHub
Copy link
Contributor

Normally, the Err variant should contain more information than () (such as an error message, for instance), but since I don't know what are the edge cases, I don't know how to write the error message.

This change is a breaking change.

@anonrig anonrig merged commit e1dbef5 into ada-url:main Aug 29, 2023
@KSXGitHub KSXGitHub deleted the setter-result branch August 30, 2023 02:59
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