Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ CustomException
Class
CustomException
tests/test_user_error_handler.py:11–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
9
10
def
test_error_handler_no_match(app, client):
11
class
CustomException(Exception):
12
pass
13
14
@app.errorhandler(CustomException)
15
def
custom_exception_handler(e):
Callers
2
test_error_handler_no_match
Function · 0.85
custom_test
Function · 0.85
Calls
no outgoing calls
Tested by
2
test_error_handler_no_match
Function · 0.68
custom_test
Function · 0.68