ssv
ssv copied to clipboard
Use go 1.13 error wrapping
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.