MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / dataDirIncompatible

Function dataDirIncompatible

apps/desktop/main/api/errors.ts:96–98  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

94}
95
96export function dataDirIncompatible(message: string): ApiError {
97 return new ApiError(ApiErrorCode.DATA_DIR_INCOMPATIBLE, message)
98}
99
100export function serverError(message = 'Internal server error'): ApiError {
101 return new ApiError(ApiErrorCode.SERVER_ERROR, message)

Callers 1

apiErrorFromUnknownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected