code: def _parse_errback(self, error):
          
          if isinstance(error.value, IOError):
              raise error.value
          if hasattr(xmlrpc, 'Fault'):  # Python 2:
              fault = xmlrpc.Fault
          else:
              fault = xmlrpc.client.Fault
          if isinstance(error.value, fault):
              # TODO: specific errors here, see koji/__init__.py
              if error.value.faultCode >= 1000 and error.value.faultCode <= 1022:
                  raise KojiException(error.value.faultString)
              raise KojiException(error.value)
          # We don't know what this is, so just raise it.
          raise error
docs: Parse an error from an XML-RPC call.
  
          raises: ``IOError`` when the Twisted XML-RPC connection times out.
          raises: ``KojiException`` if we got a response from the XML-RPC
                  server but it is not one of the ``xmlrpc.Fault``s that
                  we know about.
          raises: ``Exception`` if it is not one of the above.