MCPcopy Create free account
hub / github.com/Nativu5/Gemini-FastAPI / add_exception_handler

Function add_exception_handler

app/server/middleware.py:108–109  ·  view source on GitHub ↗
(app: FastAPI)

Source from the content-addressed store, hash-verified

106
107
108def add_exception_handler(app: FastAPI):
109 app.add_exception_handler(Exception, global_exception_handler)
110
111
112def add_cors_middleware(app: FastAPI):

Callers 1

create_appFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected