hashicorp / go-multierror

A Go (golang) package for representing a list of errors as a single error.
Mozilla Public License 2.0
2.3k stars 123 forks source link

errors.Is() does not work if multierror.Prefix() is used #56

Open qqshka opened 2 years ago

qqshka commented 2 years ago

It does not work since go.mod specifies errwrap@v1.0.0 and it does not have Unwrap(), but Unwrap() was added in errwrap@v1.1.0.

I could obviously fix it explicilty by updating versions but fixing it in go.mod wouldn't hurt either.