Part of lp.services.webapp.errorlog View In Hierarchy
Known subclasses: lp.codehosting.bzrutils.BazaarOopsRequest
It can be used by scripts to enrich error reports with context information and a representation of the resource on which the error occurred. It also gives access to the generated OOPS id.
The resource for which the error occurred MAY be identified by an URL. This URL should point to a human-readable representation of the model object, such as a page on launchpad.net, even if this URL does not occur as part of the normal operation of the script.
Parameters | data | context information relevant to diagnosing the error. It is recorded as request-variables in the OOPS. |
URL | initial value of the URL instance variable. | |
Instance Variables | URL | pointer to a representation of the resource for which the error occured. Defaults to None. |
oopsid | the oopsid set by ErrorReportingUtility.raising. Initially set to None. |