formatting: %+v should apply to nested errors (#5)

`%+v` on a multierr should use `%+v` on the nested errors. That is,

    fmt.Sprintf("%+v", multierr.Combine(err1, err2))

Should use `fmt.Sprintf("%+v", err1)` and `fmt.Sprinf("%+v", err2)` in
the output rather than `err{1, 2}.Error()`.

2 files changed
tree: 33a24fa3ce61996cfbf52de769dfd585da877208
  1. scripts/
  2. .gitignore
  3. .travis.yml
  4. error.go
  5. error_test.go
  6. glide.lock
  7. glide.yaml
  8. LICENSE.txt
  9. Makefile
  10. README.md
README.md

multierr GoDoc Build Status Coverage Status

multierr allows combining one or more Go errors together.

Installation

go get -u go.uber.org/multierr

Status

Beta


Released under the MIT License.