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

Function parent_exception_handler

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

Source from the content-addressed store, hash-verified

70
71 @app.errorhandler(ParentException)
72 def parent_exception_handler(e):
73 assert isinstance(e, ParentException)
74 return "parent"
75
76 @app.errorhandler(ChildExceptionRegistered)
77 def child_exception_handler(e):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected