Package cherrypy :: Package tutorial :: Module tut10_http_errors
[hide private]
[frames] | no frames]

Module tut10_http_errors

source code

Tutorial: HTTP errors

HTTPError is used to return an error response to the client. CherryPy has lots of options regarding how such errors are logged, displayed, and formatted.

Classes [hide private]
  HTTPErrorDemo
Variables [hide private]
  localDir = '/build/cherrypy3-miweZ4/cherrypy3-3.2.2/cherrypy/t...
  curpath = '/build/cherrypy3-miweZ4/cherrypy3-3.2.2/cherrypy/tu...
  tutconf = '/build/cherrypy3-miweZ4/cherrypy3-3.2.2/cherrypy/tu...
  __package__ = 'cherrypy.tutorial'
Variables Details [hide private]

localDir

Value:
'/build/cherrypy3-miweZ4/cherrypy3-3.2.2/cherrypy/tutorial'

curpath

Value:
'/build/cherrypy3-miweZ4/cherrypy3-3.2.2/cherrypy/tutorial'

tutconf

Value:
'/build/cherrypy3-miweZ4/cherrypy3-3.2.2/cherrypy/tutorial/tutorial.co\
nf'