hashicorp / go-multierror

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

difference with `errors.Join`? #98

Open miparnisari opened 5 months ago

miparnisari commented 5 months ago

https://pkg.go.dev/errors#Join was introduced in Go 1.20.

Can someone clarify how multierror.Append is better or different? It looks like it's been superseded 🤔 https://go.dev/play/p/6oWfiUJSNx3

Thank you 😄

displague commented 3 months ago

Relates to https://github.com/hashicorp/go-multierror/issues/63