Standard error classes and utilities.
def errorText(ex):
Returns the complete error text for the exception, just as the python interpreter would have formatted it, as a multi line string.
This must be called from an exception handler.
This function isn't really very different from traceback.format_exception() -
except that it can be used in 1.5.1 and I'm not sure if format_exception can.
Creates a stack trace from the given exception info (should be the returned
from sys.exc_info(), the value of the current exception info is used if none is
supplied).
Returns the stack trace represented as a multi-line string.
Deprecated. Use errorText() instead.
exlocstr(exinfo)
def exlocstr(exinfo = None):