Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ bp_exception_handler
Function
bp_exception_handler
tests/test_user_error_handler.py:140–141 ·
view source on GitHub ↗
(e)
Source
from the content-addressed store, hash-verified
138
139
@bp.errorhandler(500)
140
def
bp_exception_handler(e):
141
return
"bp-error"
142
143
@bp.route(
"/error"
)
144
def
bp_test():
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected