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.
|
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
__call__(self,
etype,
value,
tb)
Write the specified exception to disk and print a helpful error
message to the user. |
|
|
|
_recordException(self,
etype,
value,
tb)
Write the specified exception to disk and display a helpful error
message to the user in the terminal and, if running maestro, in the
gui |
|
|
str
|
_getMessage(self,
filepath,
html=False)
Returns an message formatted either as plain text or html |
|
|
tuple
|
_getExcepFile(self)
Return the file that the exception should be written to. |
|
|
generator
|
_genFilename(self)
Generate potential output filenames to write the exception to |
|
|
|
_createExcepDir(self)
Create the exceptions directory if it does not already exist. |
|
|
|
_cleanupExcepDir(self)
If there are more than _MAX_EXCEP_FILES - 1 files in the exceptions
directory, remove the oldest files. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|