MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / notFound

Function notFound

packages/web/src/lib/serviceError.ts:90–96  ·  view source on GitHub ↗
(message?: string)

Source from the content-addressed store, hash-verified

88}
89
90export const notFound = (message?: string): ServiceError => {
91 return {
92 statusCode: StatusCodes.NOT_FOUND,
93 errorCode: ErrorCode.NOT_FOUND,
94 message: message ?? "Not found",
95 }
96}
97
98export const userNotFound = (): ServiceError => {
99 return {

Callers 15

getRepoInfoByNameFunction · 0.90
createAccountRequestFunction · 0.90
getRepoImageFunction · 0.90
getAuthContextFunction · 0.90
_removeUserFromOrgFunction · 0.90
rejectAccountRequestFunction · 0.90
approveAccountRequestFunction · 0.90
cancelInviteFunction · 0.90
getFileSourceForRepoFunction · 0.90
getFilesFunction · 0.90
getFileBlameFunction · 0.90
getDiffFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected