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

Method internalerror

web/application.py:560–568  ·  view source on GitHub ↗

Returns HTTPError with '500 internal error' message

(self)

Source from the content-addressed store, hash-verified

558 return web._NotFound()
559
560 def internalerror(self):
561 """Returns HTTPError with '500 internal error' message"""
562 parent = self.get_parent_app()
563 if parent:
564 return parent.internalerror()
565 elif web.config.get("debug"):
566 return debugerror()
567 else:
568 return web._InternalError()
569
570
571def with_metaclass(mcls):

Callers 2

processMethod · 0.95
InternalErrorFunction · 0.80

Calls 3

get_parent_appMethod · 0.95
debugerrorFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected