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. .gitignore
  2. .travis.yml
  3. LICENSE.txt
  4. Makefile
  5. README.md
  6. error.go
  7. error_test.go
  8. glide.lock
  9. glide.yaml
  10. scripts/
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.