Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Don't build muliterrors for a single error
For caller convenience multierror.New might be called with only a single error in a list of errors. In these cases there is no value of wrapping the error in a multierror so New simply returns the single error it was called with.
- Loading branch information