On Thu, 2005-04-28 at 14:15 +0000, Jp Calderone wrote:
The behavior of that Fault is defined the _ebRender method of twisted.web.client.xmlrpc.XMLRPC. Presently it is defined as:
def _ebRender(self, failure): if isinstance(failure.value, Fault): return failure.value log.err(failure) return Fault(self.FAILURE, "error")
Notice that this means that if you raise a xmlrpclib.Fault instance as the exception that will be used, so you can do that instead of Python exceptions.