WebUtils.HTMLForException | index /usr/local/share/webware/WebUtils/HTMLForException.py

`HTMLForException.py
Create HTML for exceptions.`

Modules

``

os re | sys traceback | urllib |

Functions

``

HTMLForException(excInfo=None, options=None)
  `Get HTML for displaying an exception.
  Returns an HTML string that presents useful information to the developer
  about the exception. The first argument is a tuple such as returned by
  sys.exc_info() which is in fact invoked if the tuple isn't provided.`

HTMLForLines(lines, options=None)
  `Create HTML for exceptions and tracebacks from a list of strings.`

HTMLForStackTrace(frame=None, options=None)
  `Get HTML for displaying a stack trace.
  Returns an HTML string that presents useful information to the developer
  about the stack. The first argument is a stack frame such as returned by
  sys._getframe() which is in fact invoked if a stack frame isn't provided.`

Data
`` |  | HTMLForExceptionOptions = {'default': 'color:#000000', 'editlink': None, 'row.code': 'color:#990000', 'row.location': 'color:#000099', 'table': 'background-color:#F0F0F0'} fileRE = <_sre.SRE_Pattern object>