t.s.p.RemoteError(Exception) : class documentation

Part of twisted.spread.pb View Source View In Hierarchy

This class is used to wrap a string-ified exception from the remote side to be able to reraise it. (Raising string exceptions is no longer possible in Python 2.6+)

The value of this exception will be a str() representation of the remote value.

NoteIt's not possible to include the remoteTraceback if this exception is thrown into a generator. It must be accessed as an attribute.
Instance Variable remoteType The full import path of the exception class which was raised on the remote end. (type: str)
Instance Variable remoteTraceback The remote traceback. (type: str)
Method __init__ Undocumented
remoteType =
The full import path of the exception class which was raised on the remote end. (type: str)
remoteTraceback =
The remote traceback. (type: str)
def __init__(self, remoteType, value, remoteTraceback): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2012-09-01 11:44:56.