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

Function child_exception_handler

tests/test_user_error_handler.py:77–79  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

75
76 @app.errorhandler(ChildExceptionRegistered)
77 def child_exception_handler(e):
78 assert isinstance(e, ChildExceptionRegistered)
79 return "child-registered"
80
81 @app.route("/parent")
82 def parent_test():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected