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

Class MyException

tests/test_basic.py:945–946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943
944def test_user_error_handling(app, client):
945 class MyException(Exception):
946 pass
947
948 @app.errorhandler(MyException)
949 def handle_my_exception(e):

Callers 1

indexFunction · 0.85

Calls

no outgoing calls

Tested by 1

indexFunction · 0.68