code: func (a *ErrorList) Append(err error) {
  	switch err := err.(type) {
  	case ErrorList:
  		*a = append(*a, err...)
  	default:
  		*a = append(*a, err)
  	}
  }
docs: // Append appends an error to the list. If err is an ErrorList then all errors are appended.