MCPcopy Create free account
hub / github.com/Effect-TS/effect / invalidData

Function invalidData

packages/effect/src/encoding/Zip.ts:731–731  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

729const invalidHeader = (message: string) => new ZipError({ kind: "InvalidHeader", message })
730
731const invalidData = (message: string) => new ZipError({ kind: "InvalidData", message })
732
733const truncated = (at: number) =>
734 new ZipError({ kind: "Truncated", message: `unexpected end of zip archive at byte ${at}` })

Callers 1

readCurrentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected