code: def copyError(self, to):
          
          if to is None: to__o = None
          else: to__o = to._o
          ret = libxml2mod.xmlCopyError(self._o, to__o)
          return ret
docs: Save the original error to the new place.