Home | Trees | Indices | Help |
|
---|
|
object --+ | exceptions.BaseException --+ | 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 Inherited from Inherited from |
|
|||
Inherited from 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 Wed Aug 15 01:25:06 2007 | http://epydoc.sourceforge.net |