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

Function badRequest

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

Source from the content-addressed store, hash-verified

52}
53
54export function badRequest(message: string, hint?: string): ApiError {
55 return new ApiError('bad-request', message, hint);
56}
57
58export function notFound(message: string, hint?: string): ApiError {
59 return new ApiError('not-found', message, hint);

Callers 15

parseFlowQueryFunction · 0.90
dispatchWriteFunction · 0.90
dispatchPathRoutesFunction · 0.90
parseOnDriftFunction · 0.90
buildSourceFunction · 0.90
parseMapQueryFunction · 0.90
trailPathFunction · 0.90
saveTrailFunction · 0.90
parseSaveRequestFunction · 0.90
buildNodeRefsFunction · 0.90
resolveAnchorFunction · 0.90
buildFileCodeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected