Closed as not planned
Description
Proposal Details
When using errgroup.Group
, the current behavior is to fail and return the first error that's encountered. This works great. errgroup
is consistently one of my favorite packages to use.
But, sometimes I want to collect and report all errors at the end.
Luckily, we have errors.Join
to do just this!
I'd like to propose either an optional method to make errgroup
collect errors, or a type/package/something to do what errgroup does, with this behavior.
I'm open to any naming or structure you folks would recommend, and I'd be happy to send a CL to implement it if there's interest.