MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / notFound

Function notFound

src/ui-server/api/respond.ts:58–60  ·  view source on GitHub ↗
(message: string, hint?: string)

Source from the content-addressed store, hash-verified

56}
57
58export function notFound(message: string, hint?: string): ApiError {
59 return new ApiError('not-found', message, hint);
60}
61
62/** Send a successful payload. */
63export function ok(res: ServerResponse, payload: unknown, method: string): true {

Callers 5

dispatchPathRoutesFunction · 0.90
notIndexedErrorFunction · 0.90
buildNodeFunction · 0.90
removeTrailFunction · 0.90
resolveAnchorFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected