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

Function bp_forbidden_handler

tests/test_user_error_handler.py:173–175  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

171
172 @bp.errorhandler(Forbidden)
173 def bp_forbidden_handler(e):
174 assert isinstance(e, Forbidden)
175 return "bp-forbidden"
176
177 @bp.route("/undefined")
178 def bp_registered_test():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected