MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / storeError

Function storeError

packages/hosts/cloudflare/src/blob-store.ts:25–26  ·  view source on GitHub ↗
(op: string)

Source from the content-addressed store, hash-verified

23const objectName = (namespace: string, key: string): string => `${namespace}/${key}`;
24
25const storeError = (op: string) => (cause: unknown) =>
26 new StorageError({ message: `R2 blob ${op} failed`, cause });
27
28export const makeR2BlobStore = (bucket: R2Bucket): BlobStore => ({
29 get: (namespace, key) =>

Callers 1

makeR2BlobStoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected