MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / sessionNotFound

Function sessionNotFound

apps/desktop/main/api/errors.ts:57–59  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

55}
56
57export function sessionNotFound(id: string): ApiError {
58 return new ApiError(ApiErrorCode.SESSION_NOT_FOUND, `Session not found: ${id}`)
59}
60
61export function invalidFormat(message: string): ApiError {
62 return new ApiError(ApiErrorCode.INVALID_FORMAT, message)

Callers 1

ensureSessionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected