MCPcopy Create free account
hub / github.com/pallets/flask / forbidden_handler

Function forbidden_handler

tests/test_blueprints.py:84–85  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

82
83 @errors.app_errorhandler(403)
84 def forbidden_handler(e):
85 return "you shall not pass", 403
86
87 @app.route("/forbidden")
88 def app_forbidden():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected