Open thaJeztah opened 2 years ago
@dnephin @mitchellh PTAL 🤗 (noticed this was deprecated when updating dependencies (https://github.com/moby/moby/pull/43308), so thought I could as well try to get rid of that dependency altogether 😅)
@mitchellh @mwhooker are there any plans to merge this PR?
I found this issue while considering further adoption of this package vs the upstream support in Go 1.20 for wrapper errors.
See
The
errwrap.Wrapf()
function was deprecated in favor of native go 1.13 error wrapping in github.com/hashicorp/errwrap v1.1.0 (https://github.com/hashicorp/errwrap/pull/9).This updates the
Prefix()
function to use native error wrapping, which removes the dependency on github.com/hashicorp/errwrap.