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

multierror undefined errors.AS errors.Is #46

Closed dschere closed 3 years ago

dschere commented 3 years ago

go get github.com/hashicorp/go-multierror

github.com/hashicorp/go-multierror

../go/src/github.com/hashicorp/go-multierror/multierror.go:112:9: undefined: errors.As ../go/src/github.com/hashicorp/go-multierror/multierror.go:117:9: undefined: errors.Is

go version go1.10.4 linux/amd64

mwhooker commented 3 years ago

Thanks for the report, @dschere.

This package uses features that require at least version 1.13 of go. If you're not able to update your go version for some reason, the tagged v1.0.0 version of this package should continue to work for you.

We have an open ticket (#37) to add this to the documentation, so I will close this so we can track it there.