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

Function return_something

tests/test_basic.py:936–937  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

934
935 @app.errorhandler(404)
936 def return_something(error):
937 return flask.g.something, 404
938
939 rv = client.get("/")
940 assert rv.status_code == 404

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected