golang-github-hashicorp-go-multierror-dev

Go package for representing a list of errors as a single error
  https://github.com/hashicorp/go-multierror
  0
  no reviews



Go-multierror is a package for go that provides a mechanism for representing a list of error values as a single error.

this allows a function in go to return an error that might actually be a list of errors. if the caller knows this, they can unwrap the list and access the errors. if the caller doesn't know, the error formats to a nice human-readable format.

go-multierror implements the errwrap interface so that it can be used with that library, as well.

this package contains the source.