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

[NH-80033] Remove github.com/pkg/errors in favor of stdlib #119

Merged
merged 17 commits into from
Jul 30, 2024
Merged

Conversation

swi-jared
Copy link
Contributor

@swi-jared swi-jared commented Jul 30, 2024

Replace all uses of github.com/pkg/errors with stdlib errors or (in most cases) fmt.Errorf with %w.

fmt.Errorf documentation

If the format specifier includes a %w verb with an error operand, the returned error will implement an Unwrap method returning the operand.

@swi-jared swi-jared marked this pull request as ready for review July 30, 2024 21:05
@swi-jared swi-jared requested a review from a team as a code owner July 30, 2024 21:05
@swi-jared swi-jared merged commit d7e10e5 into main Jul 30, 2024
7 checks passed
@swi-jared swi-jared deleted the NH-80033 branch July 30, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants