Skip to content

ChecksumError

Defined in: packages/distillate/src/core/serialize.ts:121

Thrown when a frame’s CRC32 trailer does not match its contents, so the bytes were corrupted after they were written. Discard them and re-fetch; the payload cannot be trusted even where it still parses.

new ChecksumError(message?): ChecksumError

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1082

string

ChecksumError

SerializationError.constructor

new ChecksumError(message?, options?): ChecksumError

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

ChecksumError

SerializationError.constructor

optional cause?: unknown

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error.d.ts:26

SerializationError.cause


message: string

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1077

SerializationError.message


readonly name: "ChecksumError" = "ChecksumError"

Defined in: packages/distillate/src/core/serialize.ts:123

Discriminates this error from other Errors.

SerializationError.name


optional stack?: string

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1078

SerializationError.stack