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

add sync/errgroup like functionality #28

Closed nickethier closed 4 years ago

nickethier commented 4 years ago

A common pattern used in Nomad is collecting errors from a set of goroutines and combining them with multierror. This was inspired by the sync/errgroup package, but instead of returning the first error, returns all errors combined with Append.

hashicorp-cla commented 4 years ago

CLA assistant check
All committers have signed the CLA.