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 go 1.13 error wrapping #779

Open
nkryuchkov opened this issue Dec 26, 2022 · 0 comments
Open

Use go 1.13 error wrapping #779

nkryuchkov opened this issue Dec 26, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nkryuchkov
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, we are using https://github.com/pkg/errors for wrapping errors, but it's discontinued. The Go team suggests using fmt.Errorf with %w verb and errors.Is, errors.As methods instead (https://go.dev/blog/go1.13-errors).

Describe the solution you'd like
A clear and concise description of what you want to happen.
Use fmt.Errorf, errors.Is, errors.As instead of https://github.com/pkg/errors.

@nkryuchkov nkryuchkov added the enhancement New feature or request label Dec 26, 2022
@y0sher y0sher added good first issue Good for newcomers help wanted Extra attention is needed labels Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants