| 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 |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
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.0.1 on Sat Aug 15 15:33:01 2009 | http://epydoc.sourceforge.net |