MCPcopy
hub / github.com/sanic-org/sanic / handler_500_error

Function handler_500_error

tests/test_exceptions.py:96–97  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

94
95 @app.route("/abort")
96 def handler_500_error(request):
97 raise SanicException(status_code=500)
98
99 @app.route("/abort/message")
100 def handler_abort_message(request):

Callers

nothing calls this directly

Calls 1

SanicExceptionClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…