Part of twisted.spread.pb View Source View In Hierarchy
Method | printTraceback | Emulate Python's standard error reporting mechanism. |
Inherited from Failure:
Method | __init__ | Initialize me with an explanation of the error. |
Method | trap | Trap this failure if its type is in a predetermined list. |
Method | check | Check if this failure's type is in a predetermined list. |
Method | raiseException | raise the original exception, preserving traceback information if available. |
Method | throwExceptionIntoGenerator | Throw the original exception into the given generator, preserving traceback information if available. |
Method | __repr__ | Undocumented |
Method | __str__ | Undocumented |
Method | __getstate__ | Avoid pickling objects in the traceback. |
Method | cleanFailure | Remove references to other objects, replacing them with strings. |
Method | getTracebackObject | Get an object that represents this Failure's stack that can be passed to traceback.extract_tb. |
Method | getErrorMessage | Get a string of the exception which caused this Failure. |
Method | getBriefTraceback | Undocumented |
Method | getTraceback | Undocumented |
Method | printBriefTraceback | Print a traceback as densely as possible. |
Method | printDetailedTraceback | Print a traceback with detailed locals and globals information. |
Class Method | _findFailure | Find the failure that represents the exception currently in context. |
Parameters | file | If specified, a file-like object to which to write the traceback. |
elideFrameworkCode | A flag indicating whether to attempt to remove uninteresting frames from within Twisted itself from the output. | |
detail | A string indicating how much information to include in the traceback.
Must be one of 'brief' , 'default' , or
'verbose' .
|