MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / default_error_handler

Method default_error_handler

21-async/mojifinder/bottle.py:847–848  ·  view source on GitHub ↗
(self, res)

Source from the content-addressed store, hash-verified

845 return wrapper
846
847 def default_error_handler(self, res):
848 return tob(template(ERROR_PAGE_TEMPLATE, e=res))
849
850 def _handle(self, environ):
851 path = environ['bottle.raw_path'] = environ['PATH_INFO']

Callers

nothing calls this directly

Calls 2

tobFunction · 0.85
templateFunction · 0.85

Tested by

no test coverage detected