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

Function notAuthenticated

packages/web/src/lib/serviceError.ts:82–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80}
81
82export const notAuthenticated = (): ServiceError => {
83 return {
84 statusCode: StatusCodes.UNAUTHORIZED,
85 errorCode: ErrorCode.NOT_AUTHENTICATED,
86 message: "Not authenticated",
87 }
88}
89
90export const notFound = (message?: string): ServiceError => {
91 return {

Callers 8

createAccountRequestFunction · 0.90
withAuthFunction · 0.90
withOptionalAuthFunction · 0.90
withAuth.test.tsFile · 0.90
joinOrganizationFunction · 0.90
redeemInviteFunction · 0.90
getInviteInfoFunction · 0.90
route.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected