func (e *Error) WrappedErrors() []error {
	if e == nil {
		return nil
	}
	return e.Errors
}
WrappedErrors returns the list of errors that this Error is wrapping. It is
an implementation of the errwrap.Wrapper interface so that multierror.Error
can be used with that library.

This method is not safe to be called concurrently. Unlike accessing the
Errors field directly, this function also checks if the multierror is nil to
prevent a null-pointer panic. It satisfies the errwrap.Wrapper interface.
package multierror
import (
	"errors"
	"fmt"
)
type Error struct {
	Errors      []error
	ErrorFormat ErrorFormatFunc
}
func (e *Error) Error() string {
	fn := e.ErrorFormat
	if fn == nil {
		fn = ListFormatFunc
	}
	return fn(e.Errors)
}
func (e *Error) ErrorOrNil() error {
	if e == nil {
		return nil
	}
	if len(e.Errors) == 0 {
		return nil
	}
	return e
}
func (e *Error) GoString() string {
	return fmt.Sprintf("*%#v", *e)
}