Part of twisted.python View Source
| Class | DefaultException | Undocumented |
| Function | format_frames | Format and write frames. |
| Class | NoCurrentExceptionError | Raised when trying to create a Failure from the current interpreter exception state and there is no current exception state. |
| Class | Failure | A basic abstraction for an error that has occurred. |
| Function | startDebugMode | Enable debug hooks for Failures. |
| Class | _Traceback | Fake traceback object which can be passed to functions in the standard
library traceback module.
|
| Class | _Frame | A fake frame object, used by _Traceback.
|
| Class | _Code | A fake code object, used by _Traceback
via _Frame.
|
| Function | _debuginit | Undocumented |
| Parameters | frames | is a list of frames as used by Failure.frames, with each frame being a list of (funcName, fileName, lineNumber, locals.items(), globals.items()) (type: list ) |
| write | this will be called with formatted strings. (type: callable ) | |
| detail | Three detail levels are available: default, brief, and verbose. (type: string ) |