newMultiError creates a new MultiError. Pass in one or more errors.
(err ...error)
| 22 | |
| 23 | // newMultiError creates a new MultiError. Pass in one or more errors. |
| 24 | func newMultiError(err ...error) MultiError { |
| 25 | ret := multiError(err) |
| 26 | return &ret |
| 27 | } |
| 28 | |
| 29 | type multiError []error |
| 30 |