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

Function handler

tests/test_appctx.py:104–105  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

102
103 @app.errorhandler(Exception)
104 def handler(f):
105 return flask.jsonify(str(f))
106
107 with app.app_context():
108 client.get("/")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected