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.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new UnknownVersionError(
message?):UnknownVersionError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1082
Parameters
Section titled “Parameters”message?
Section titled “message?”string
Returns
Section titled “Returns”UnknownVersionError
Inherited from
Section titled “Inherited from”SerializationError.constructor
Constructor
Section titled “Constructor”new UnknownVersionError(
message?,options?):UnknownVersionError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1082
Parameters
Section titled “Parameters”message?
Section titled “message?”string
options?
Section titled “options?”ErrorOptions
Returns
Section titled “Returns”UnknownVersionError
Inherited from
Section titled “Inherited from”SerializationError.constructor
Properties
Section titled “Properties”cause?
Section titled “cause?”
optionalcause?:unknown
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
Section titled “Inherited from”message
Section titled “message”message:
string
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Section titled “Inherited from”
readonlyname:"UnknownVersionError"="UnknownVersionError"
Defined in: packages/distillate/src/core/serialize.ts:103
Discriminates this error from other Errors.
Overrides
Section titled “Overrides”stack?
Section titled “stack?”
optionalstack?:string
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1078