MCPcopy
hub / github.com/CapSoftware/Cap / mapStorageError

Function mapStorageError

packages/web-backend/src/Storage/index.ts:157–160  ·  view source on GitHub ↗
(effect: Effect.Effect<A, E, R>)

Source from the content-addressed store, hash-verified

155 );
156
157const mapStorageError = <A, E, R>(effect: Effect.Effect<A, E, R>) =>
158 effect.pipe(
159 Effect.mapError((cause) => new StorageDomain.StorageError({ cause })),
160 );
161
162const makeS3MultipartAccess = (s3: S3BucketAccess): MultipartAccess => ({
163 create: (

Callers 7

makeS3MultipartAccessFunction · 0.85
makeS3AccessFunction · 0.85
getObjectRecordFunction · 0.85
recoverDriveFileIdFunction · 0.85
makeGoogleDriveAccessFunction · 0.85
StorageClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected