Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / function
_mode_unavailable
modules.code.router._mode_unavailable
PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.
PHAROS at 975a38dMIT license
Around this symbol
Search all symbolsLoading
| Symbol | File | Resolved by |
|---|---|---|
| retrieve_context | router.py | same file |
| search_code | router.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| router | router.py | same file |
modules.code.router._mode_unavailablebackend/app/modules/code/router.py, lines 107–111Open source
def _mode_unavailable(exc: ModeUnavailable) -> HTTPException: return HTTPException( status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail={"error": "mode_unavailable", "mode": exc.mode, "detail": exc.reason}, )What the index recorded
- Signature
def _mode_unavailable(exc: ModeUnavailable) -> HTTPException:- File
backend/app/modules/code/router.py- Lines
- 107–111
- Parser
- python-ast
- Git blob
d914024790aaafe7234adda557677b76e4ad73d5- Call sites
- 1 named, 0 resolved, 1 left unlinked
