Skip to content

UnknownVersionError

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

Thrown when a frame or JSON envelope declares a format version this release does not read. A reader must be at least as new as the producer, so upgrade distillate or re-serialize the data with the version you run.

new UnknownVersionError(message?): UnknownVersionError

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

string

UnknownVersionError

SerializationError.constructor

new UnknownVersionError(message?, options?): UnknownVersionError

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

string

ErrorOptions

UnknownVersionError

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: "UnknownVersionError" = "UnknownVersionError"

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

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