ssv icon indicating copy to clipboard operation
ssv copied to clipboard

Use go 1.13 error wrapping

Open nkryuchkov opened this issue 2 years ago • 0 comments

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 avatar Dec 26 '22 16:12 nkryuchkov