Skip to content

Conversation

@goodevilgenius
Copy link

@goodevilgenius goodevilgenius commented Sep 30, 2025

This allows us to use errors.Is with errors returned from a failed validation. Note that this only works with errors.Is from go 1.20 onward, and this library targets 1.13. Having the method will allow it to work as expected for anyone using 1.20+.

Fixes #23

This allows us to use errors.Is with errors returned from a failed validation.
@goodevilgenius
Copy link
Author

@swithek Here's the PR for #23

This only works from go1.20 onwards. And this project targets 1.13
Copy link

@swithek swithek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Everything looks good

@swithek swithek merged commit a8f3252 into jellydator:master Oct 1, 2025
2 checks passed
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.

Add Unwrap() []error method to Errors

2 participants