Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pyclearsilver.cgitb.View Class Reference

Public Member Functions

def __init__ (self, info=None, debug=0)
 
def applicationDetails (self)
 
def date (self)
 
def exceptionAttributes (self, info)
 
def exceptionMessage (self, info)
 
def exceptionTitle (self, info)
 
def format (self, formatter, context=5)
 
def formatContent (self)
 
def formatException (self, info)
 
def formatExceptionAttributes (self, info)
 
def formatExceptionMessage (self, info)
 
def formatExceptionTitle (self, info)
 
def formatMessage (self)
 
def formatOneTextTraceback (self, info)
 
def formatOneTraceback (self, info)
 
def formatStylesheet (self)
 
def formatSystemDetails (self)
 
def formatTextTraceback (self)
 
def formatTitle (self)
 
def formatTraceback (self)
 
def platform (self)
 
def python (self)
 
def stylesheet (self)
 
def textTracebackTemplate (self)
 
def tracebackFrames (self, info)
 
def tracebackText (self, info)
 

Public Attributes

 context
 
 debug
 
 formatter
 
 info
 

Static Public Attributes

 frameClass = Frame
 

Detailed Description

Traceback view 

Definition at line 341 of file cgitb.py.

Constructor & Destructor Documentation

def pyclearsilver.cgitb.View.__init__ (   self,
  info = None,
  debug = 0 
)
Save starting info or current exception info 

Definition at line 346 of file cgitb.py.

Member Function Documentation

def pyclearsilver.cgitb.View.applicationDetails (   self)
Override for your application 

Definition at line 521 of file cgitb.py.

def pyclearsilver.cgitb.View.date (   self)

Definition at line 507 of file cgitb.py.

def pyclearsilver.cgitb.View.exceptionAttributes (   self,
  info 
)
Return list of tuples [(name, value), ...] 

Definition at line 476 of file cgitb.py.

def pyclearsilver.cgitb.View.exceptionMessage (   self,
  info 
)

Definition at line 491 of file cgitb.py.

def pyclearsilver.cgitb.View.exceptionTitle (   self,
  info 
)

Definition at line 487 of file cgitb.py.

def pyclearsilver.cgitb.View.format (   self,
  formatter,
  context = 5 
)

Definition at line 351 of file cgitb.py.

def pyclearsilver.cgitb.View.formatContent (   self)
General layout - override to change layout 

Definition at line 356 of file cgitb.py.

def pyclearsilver.cgitb.View.formatException (   self,
  info 
)

Definition at line 457 of file cgitb.py.

def pyclearsilver.cgitb.View.formatExceptionAttributes (   self,
  info 
)

Definition at line 469 of file cgitb.py.

def pyclearsilver.cgitb.View.formatExceptionMessage (   self,
  info 
)

Definition at line 466 of file cgitb.py.

def pyclearsilver.cgitb.View.formatExceptionTitle (   self,
  info 
)

Definition at line 463 of file cgitb.py.

def pyclearsilver.cgitb.View.formatMessage (   self)

Definition at line 417 of file cgitb.py.

def pyclearsilver.cgitb.View.formatOneTextTraceback (   self,
  info 
)
Separate to enable formatting multiple tracebacks. 

Definition at line 532 of file cgitb.py.

def pyclearsilver.cgitb.View.formatOneTraceback (   self,
  info 
)
Format one traceback

Separate to enable formatting multiple tracebacks.

Definition at line 427 of file cgitb.py.

def pyclearsilver.cgitb.View.formatStylesheet (   self)
Format inline html stylesheet 

Definition at line 371 of file cgitb.py.

def pyclearsilver.cgitb.View.formatSystemDetails (   self)

Definition at line 499 of file cgitb.py.

def pyclearsilver.cgitb.View.formatTextTraceback (   self)

Definition at line 528 of file cgitb.py.

def pyclearsilver.cgitb.View.formatTitle (   self)

Definition at line 414 of file cgitb.py.

def pyclearsilver.cgitb.View.formatTraceback (   self)
Return formatted traceback 

Definition at line 423 of file cgitb.py.

def pyclearsilver.cgitb.View.platform (   self)

Definition at line 512 of file cgitb.py.

def pyclearsilver.cgitb.View.python (   self)

Definition at line 518 of file cgitb.py.

def pyclearsilver.cgitb.View.stylesheet (   self)
Return stylesheet rules. Override to change rules.

The rules are sparated to make it easy to extend.

The stylesheet must work even if sorounding code define the same
css names, and it must not change the sorounding code look and
behavior. This is done by having all content in a .traceback
section.

Definition at line 375 of file cgitb.py.

def pyclearsilver.cgitb.View.textTracebackTemplate (   self)

Definition at line 537 of file cgitb.py.

def pyclearsilver.cgitb.View.tracebackFrames (   self,
  info 
)

Definition at line 440 of file cgitb.py.

def pyclearsilver.cgitb.View.tracebackText (   self,
  info 
)

Definition at line 449 of file cgitb.py.

Member Data Documentation

pyclearsilver.cgitb.View.context

Definition at line 353 of file cgitb.py.

pyclearsilver.cgitb.View.debug

Definition at line 349 of file cgitb.py.

pyclearsilver.cgitb.View.formatter

Definition at line 352 of file cgitb.py.

pyclearsilver.cgitb.View.frameClass = Frame
static

Definition at line 344 of file cgitb.py.

pyclearsilver.cgitb.View.info

Definition at line 348 of file cgitb.py.


The documentation for this class was generated from the following file:


pyclearsilver
Author(s): Scott Noob Hassan
autogenerated on Mon Jun 10 2019 15:51:13