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

Function error

tests/test_blueprints.py:1026–1027  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1024
1025 @bp.get("/error")
1026 def error():
1027 flask.abort(403)
1028
1029 @bp.errorhandler(403)
1030 def forbidden(_: Exception):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected