l.s.w.e.ProtocolErrorView(SystemErrorView) : class documentation

Part of lp.services.webapp.error View In Hierarchy

View for protocol errors.

Problems to do with an HTTP request that need to be handled more subtly than with a 500 response code. Used to handle a ProtocolErrorException.

Method __call__ Set the appropriate status code and headers.

Inherited from SystemErrorView:

Method __init__ Undocumented
Method isSystemError See zope.browser.interfaces import ISystemErrorView
Method computeDebugOutput Inspect the exception, and set up instance attributes.
Method inside_div Returns the given HTML inside a div of an appropriate class.
Method maybeShowTraceback Return a traceback, but only if it is appropriate to do so.
Method oops_id_text Return the OOPS ID, linkified if appropriate.
Method layer_help Undocumented
def __call__(self):
Set the appropriate status code and headers.
API Documentation for Launchpad, generated by pydoctor at 2020-02-23 00:00:22.