Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ do_error
Method
do_error
tests/test_user_error_handler.py:230–231 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
228
229
@app.route(
"/error"
)
230
def
do_error():
231
raise
KeyError()
232
233
@app.route(
"/abort"
)
234
def
do_abort():
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected