Fix Append modifying a possibly shared array (#8)

It's possible to have a multiError that is appended to multiple times
causing an underlying array to be shared and end up getting modified.

For now, remove the special case for `append(multiError, err)` which can
cause this bug.

2 files changed
tree: fb433e8063c3872ac73a20a47d2ebba69d5cf72e
  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.