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

Function my_function_exception_handler

tests/test_blueprints.py:60–62  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

58 return "boom"
59
60 def my_function_exception_handler(e):
61 assert isinstance(e, MyFunctionException)
62 return "bam"
63
64 blue.register_error_handler(MyFunctionException, my_function_exception_handler)
65

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected