Skip to content

Conversation

@jsong785
Copy link

@jsong785 jsong785 commented Apr 8, 2025

I found an issue with using golang errors.Is() and errors.As().
https://cs.opensource.google/go/go/+/refs/tags/go1.24.2:src/errors/wrap.go;l=44

  • Is()
    An error that is not comparable will keep unwrapping until nil and will return false.

  • As()
    Similar problem as Is()

@jsong785 jsong785 requested a review from a team as a code owner April 8, 2025 06:19
@hashicorp-cla-app
Copy link

hashicorp-cla-app bot commented Apr 8, 2025

CLA assistant check
All committers have signed the CLA.

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