Registry / utility / joeshaw-multierror

joeshaw-multierror

JSON →
library0.0.0-20140124173710-69b34d4ec901gogounverified

Package multierror provides a simple way to combine multiple errors into a single error.

go get github.com/joeshaw/multierror
INSTALL
IMPORT
SIG · JOESHAW-MULTIERROR
J
joeshaw-multierror
utilitygov0.0.0-20140124173710-69b34d4ec901
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

multierror
github.com/joeshaw/multierror

Collects multiple errors and prints them.

package main import ( "errors" "fmt" "github.com/joeshaw/multierror" ) func main() { var errs multierror.Errors errs = append(errs, errors.New("first error")) errs = append(errs, errors.New("second error")) fmt.Println(errs.Error()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20140124173710-69b34d4ec901latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
joeshaw-multierror — go get joeshaw-multierror · libregistry