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

chore: remove custom error type #7

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

thevilledev
Copy link
Owner

@thevilledev thevilledev commented Nov 20, 2024

Note: this is a breaking change and will be part of the next release (0.2.0).

As pointed out in N-R-K/ChibiHash#2 (comment) a custom error type makes the API harder to interface with. As the library is conforming to the Hasher trait anyway, it can actually never error anyway due to how the trait works.

Updated examples and tests as well.

@thevilledev thevilledev merged commit caf302e into main Nov 20, 2024
1 check passed
@thevilledev thevilledev deleted the chore/remove-custom-error-type branch November 20, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant