Part of twisted.python View Source
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 26 | Class | DefaultException | Undocumented |
| 29 | Function | format_frames | Format and write frames. |
| 69 | Class | NoCurrentExceptionError | Raised when trying to create a Failure from the current interpreter |
| 121 | Class | Failure | A basic abstraction for an error that has occurred. |
| 550 | Function | startDebugMode | Enable debug hooks for Failures. |
| 76 | Class | _Traceback | Fake traceback object which can be passed to functions in the standard |
| 102 | Class | _Frame | A fake frame object, used by _Traceback.
|
| 112 | Class | _Code | A fake code object, used by _Traceback
via _Frame.
|
| 540 | 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 ) |