MCPcopy
hub / github.com/pyload/pyload / HTTPError

Class HTTPError

module/lib/bottle.py:223–232  ·  view source on GitHub ↗

Used to generate an error page

Source from the content-addressed store, hash-verified

221
222
223class HTTPError(HTTPResponse):
224 """ Used to generate an error page """
225 def __init__(self, code=500, output='Unknown Error', exception=None,
226 traceback=None, header=None):
227 super(HTTPError, self).__init__(output, code, header)
228 self.exception = exception
229 self.traceback = traceback
230
231 def __repr__(self):
232 return template(ERROR_PAGE_TEMPLATE, e=self)
233
234
235

Callers 15

call_apiFunction · 0.90
callApiFunction · 0.90
_viewFunction · 0.90
js_dynamicFunction · 0.90
get_downloadFunction · 0.90
_viewFunction · 0.90
addcryptedFunction · 0.90
flashgotFunction · 0.90
statusFunction · 0.90
linksFunction · 0.90
packagesFunction · 0.90
packageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected