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 = '/home/kov/debian/build-area/cherrypy3-3.1.2/cherry...
  curpath = '/home/kov/debian/build-area/cherrypy3-3.1.2/cherryp...
Variables Details [hide private]

localDir

Value:
'/home/kov/debian/build-area/cherrypy3-3.1.2/cherrypy/tutorial'

curpath

Value:
'/home/kov/debian/build-area/cherrypy3-3.1.2/cherrypy/tutorial'