| Home | Trees | Indices | Help |
|
|---|
|
|
exceptions.Exception --+
|
CherryPyException --+
|
HTTPError
Exception used to return an HTTP error code (4xx-5xx) to the client. This exception will automatically set the response status and body.
A custom message (a long description to display in the browser) can be provided in place of the default.
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Modify cherrypy.response status, headers, and body to represent self. CherryPy uses this internally, but you can also use it to create an HTTPError object and set its output without *raising* the exception. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Jan 24 16:33:09 2008 | http://epydoc.sourceforge.net |