hashicorp / go-multierror

A Go (golang) package for representing a list of errors as a single error.
Mozilla Public License 2.0
2.34k stars 123 forks source link

Added Suffix to mirror Prefix #32

Closed mentalisttraceur closed 1 year ago

mentalisttraceur commented 4 years ago

The other week I wanted to attach some information to all errors in a multierror using multierror.Prefix but also didn't want to take visual focus off of the actual errors by having them behind the (rather long) context/scope information that I wanted to attach.

Maybe others have the same usecase, so here you go.