Module tb

Contains a little bit of custom traceback code to handle preserving tracebacks across remote method invocations.

Classes

Functions

saveTraceback(ex)

def saveTraceback(ex):

Stores traceback information in the exception object under the attribute "dopy_traceback".

DOPY user code generally need not worry about this function. It is called by the DOPY server prior to passing an exception back through a discontinuity.

errorText(ex)

def errorText(ex):

Returns a string identical to what would be printed from traceback.print_exc(), except that the special "dopy_traceback" attribute is used (if it exists) to provide traceback detail across remote method invocation boundaries.