You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: errwrap.go
    path of file: ./repos/podman/vendor/github.com/hashicorp/errwrap
    
    the code of the file until where you have to start completion: // Package errwrap implements methods to formalize error wrapping in Go.
//
// All of the top-level functions that take a
    
func GetAll(err error, msg string) []error {
	var result []error

	Walk(err, func(err error) {
		if err.Error() == msg {
			result = append(result, err)
		}
	})

	return result
}