[Twisted-Python] passing exceptions to an xmlrpc client

Christopher Armstrong radix at twistedmatrix.com
Wed Jun 18 16:16:03 EDT 2003


On 2003.06.18 13:02, Justin Johnson wrote:
> If I use the
> perspective broker will I be able to raise exceptions or return failures
> in my remote methods and have them get passed back to the client
> appropriately?  I'm trying to make sure I can handle all errors in my
> errbacks, and not have to do some special processing of errors specific
> to my method in the callbacks.

Yes, Perspective Broker has built-in support for passing Failures from one
end to another mostly-transparently (some low-level information that you
almost certainly won't need is lost in the transfer, but otherwise it's
transparent).

-- 
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+     http://twistedmatrix.com/users/radix.twistd/




More information about the Twisted-Python mailing list