Use go 1.13 error wrapping #779
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
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 anderrors.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.The text was updated successfully, but these errors were encountered: