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

Function handler_abort_message

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

Source from the content-addressed store, hash-verified

98
99 @app.route("/abort/message")
100 def handler_abort_message(request):
101 raise SanicException(message="Custom Message", status_code=500)
102
103 @app.route("/divide_by_zero")
104 def handle_unhandled_exception(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…