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/buildd/cherrypy3-3.0.2/cherrypy/tutorial'
  curpath = '/build/buildd/cherrypy3-3.0.2/cherrypy/tutorial'
  __package__ = 'cherrypy.tutorial'