Skip to content

gontainer/grouperror

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published