| Trees | Indices | Help |
|
|---|
|
|
object --+
|
ExceptionRecorder
A top level exception handler that writes uncaught exceptions to a folder in .schrodinger. The user is informed of the error and told to contact customer service.
This handler can be activated by sys.excepthook =
ExceptionRecorder() or by calling the enable_handler() convenience function.
|
|||
|
|||
|
|||
| tuple |
|
||
| generator |
|
||
|
|||
|
|||
|
Inherited from |
|||
|
|||
| int |
_OPENFLAGS = 193The flags used when opening a file. |
||
| str |
_EXCEPTIONS_DIR = The directory where exceptions are stored |
||
| int |
_MAX_EXCEP_FILES = 40The maximum number of files allowed in the exceptions directory. |
||
_MAX_EXCEP_PER_SECOND = 50
|
|||
|
|||
|
Inherited from |
|||
|
|||
Write the specified exception to disk and print a helpful error message to the user. If anything goes wrong while recording the exception, print both the original exception and the new error to stderr.
|
Write the specified exception to disk and print a helpful error message to the user.
|
Return the file that the exception should be written to.
|
Generate potential output filenames to write the exception to
|
Create the exceptions directory if it does not already exist.
|
|
|||
_OPENFLAGSThe flags used when opening a file. These flags are set to ensure that files are opened in a thread-safe manner.
|
_MAX_EXCEP_FILESThe maximum number of files allowed in the exceptions directory. Once this number of files is hit, the oldest files will be erased after recording the next exception.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Jan 4 01:37:13 2014 | http://epydoc.sourceforge.net |