Popularity
0.8
Growing
Activity
0.0
Stable
1
3
0

Description

Sometimes I have a loop running functions in parallel and because of the existing API of most the Go libs I need to return only one error.

I don't want to throw away such important information, so I group them together.

Programming language: Go
Tags: Utilities     Error     Collection    

Error Group alternatives and similar packages

Based on the "Utilities" category.
Alternatively, view Error Group alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Error Group or a related project?

Add another 'Utilities' Package

README

GoDoc Codeship Codecov Go Report Card

Error Group

ErrorGroup is an error type that can hold other errors together.

Installation

go get -u github.com/txgruppi/errorgroup

Why?

Sometimes I have a loop running functions in parallel and because of the existing API of most the Go libs I need to return only one error.

I don't want to throw away such important information, so I group them together.

Tests

go get -u -t github.com/txgruppi/errorgroup-go
cd $GOPATH/src/github.com/txgruppi/errorgroup-go
go test ./...

License

MIT


*Note that all licence references and agreements mentioned in the Error Group README section above are relevant to that project's source code only.