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 = '/tmp/buildd/cherrypy3-3.5.0/cherrypy/tutorial'
  curpath = '/tmp/buildd/cherrypy3-3.5.0/cherrypy/tutorial'
  tutconf = '/tmp/buildd/cherrypy3-3.5.0/cherrypy/tutorial/tutor...
  __package__ = 'cherrypy.tutorial'
Variables Details [hide private]

tutconf

Value:
'/tmp/buildd/cherrypy3-3.5.0/cherrypy/tutorial/tutorial.conf'