MCPcopy Create free account
hub / github.com/apache/maka / invalidMemoryDocument

Function invalidMemoryDocument

packages/storage/src/memory-bundle-model.ts:218–225  ·  view source on GitHub ↗
(message: string, cause?: unknown)

Source from the content-addressed store, hash-verified

216}
217
218export function invalidMemoryDocument(message: string, cause?: unknown): MemoryBundleStoreError {
219 return new MemoryBundleStoreError(
220 'invalid_document',
221 message,
222 undefined,
223 cause === undefined ? undefined : { cause },
224 );
225}
226
227export function memoryBundleIoFailed(message: string, cause: unknown): MemoryBundleStoreError {
228 return new MemoryBundleStoreError('io_failed', message, undefined, { cause });

Callers 15

validateDocumentBytesFunction · 0.85
restoreMemoryBackupFunction · 0.85
publishDecisionFunction · 0.85
stageDocumentFunction · 0.85
materializeDocumentFunction · 0.85
readTransactionDecisionFunction · 0.85
decodeDecisionFunction · 0.85
decodeBundleDecisionFunction · 0.85
decodeDocumentDecisionFunction · 0.85
readExactFileFunction · 0.85
readBackupCandidateFunction · 0.85
renameRegularIfPresentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected