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

Function dataDirIncompatible

packages/http-routes/src/errors.ts:90–92  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

88}
89
90export function dataDirIncompatible(message: string): ApiError {
91 return new ApiError(ApiErrorCode.DATA_DIR_INCOMPATIBLE, message)
92}
93
94export function apiErrorFromUnknown(error: unknown): ApiError | null {
95 if (error instanceof ApiError) return error

Callers 1

apiErrorFromUnknownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected