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

use %w to wrap error #475

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Ericwww
Copy link

@Ericwww Ericwww commented Feb 21, 2024

To solve #474

use %w instead of %s to wrap error

so that the caller of go-getter can use errors.As or errors.Unwrap to handle error

@hashicorp-cla
Copy link

hashicorp-cla commented Feb 21, 2024

CLA assistant check
All committers have signed the CLA.

@Ericwww Ericwww force-pushed the wrap-err-enhanced branch 2 times, most recently from e36eb98 to 769571a Compare March 6, 2024 21:25
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