Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.07 KB

README.md

File metadata and controls

16 lines (12 loc) · 1.07 KB

Go Reference Tests Coverage Status Go Report Card Quality Gate Status

Grouperror

This package provides a toolset to join and split errors.

err := grouperror.Prefix("my group: ", errors.New("error1"), nil, errors.New("error2"))
errs := grouperror.Collection(err) // []error{error("my group: error1"), error("my group: error2")}

See examples.