MCPcopy Index your code
hub / github.com/webpy/webpy / notfound

Method notfound

web/application.py:552–558  ·  view source on GitHub ↗

Returns HTTPError with '404 not found' message

(self)

Source from the content-addressed store, hash-verified

550 return web.ctx.app_stack[index - 1]
551
552 def notfound(self):
553 """Returns HTTPError with '404 not found' message"""
554 parent = self.get_parent_app()
555 if parent:
556 return parent.notfound()
557 else:
558 return web._NotFound()
559
560 def internalerror(self):
561 """Returns HTTPError with '500 internal error' message"""

Callers 4

GETMethod · 0.80
_delegateMethod · 0.80
internalFunction · 0.80
NotFoundFunction · 0.80

Calls 1

get_parent_appMethod · 0.95

Tested by 1

GETMethod · 0.64