| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
nevow.rend.DataFactory --+
|
object --+ |
| |
nevow.rend.RenderFactory --+
|
object --+ |
| |
nevow.rend.MacroFactory --+
|
object --+ |
| |
nevow.rend.ConfigurableMixin --+
|
nevow.rend.Fragment --+
|
nevow.rend.ConfigurableFactory --+
|
nevow.rend.FreeformChildMixin --+ |
| |
nevow.rend.ChildLookupMixin --+
|
nevow.rend.Page --+
|
object --+ |
| |
common.CommonRenderers --+
|
ErrorPage
A base for error handling pages.
The idea is that you set the "handles" class attribute to the exception you handle. The exception has to match exactly, i.e., no isinstancing is done.
You also must set status to the HTTP status code the error should return.
All error pages have a failure attribute that's a twisted failure with all the related mess (e.g., tracebacks).
You have the status and message data methods.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
| Class Variables | |
handles = Nonehash(x) |
|
status = 500
|
|
titleMessage =
|
|
beforeMessage =
|
|
afterMessage = Tag('p', children=["This generic text shouldn't
|
|
docFactory = <gavo.web.common.doctypedStan object>hash(x) |
|
|
Inherited from Inherited from Inherited from |
|
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
| Class Variable Details |
afterMessage
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |