t.w.e.PageRedirect(Error) : class documentation

Part of twisted.web.error View Source View In Hierarchy

A request resulted in an HTTP redirect.
Instance VariableslocationThe location of the redirect which was not followed. (type: str )
Method __init__ Initializes a basic exception.

Inherited from Error:

Method __str__ Undocumented
def __init__(self, code, message=None, response=None, location=None): (source)
Initializes a basic exception.
ParameterscodeRefers to an HTTP status code for example http.NOT_FOUND. If no message is given the given code is mapped to a descriptive string and used instead.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:07:41.