Class t.w.d.h.ErrorResponse(Response):

Part of twisted.web2.dav.http View Source View In Hierarchy

A Response object which contains a status code and a davxml.Error element. Renders itself as a DAV:error XML document.
Method __init__
Method __repr__ Undocumented
def __init__(self, code, error): (source)
Parameterscodea response code.
erroran davxml.WebDAVElement identifying the error, or a tuple (namespace, name) with which to create an empty element denoting the error. (The latter is useful in the case of preconditions ans postconditions, not all of which have defined XML element classes.)
def __repr__(self): (source)
Undocumented
API Documentation for twisted, generated by pydoctor.