Skip to content

Defined in: packages/errors/src/index.ts:54

Thrown when decoding a serialized payload that is malformed, internally inconsistent, or fails element validation.

Abstract for the same reason as InvalidInputError.

Code extends string

new ParseError<Code>(code, message): ParseError<Code>

Defined in: packages/errors/src/index.ts:57

Code

string

ParseError<Code>

KnotkitError.constructor

abstract readonly moduleName: ModuleName

Defined in: packages/errors/src/index.ts:18

KnotkitError.moduleName


readonly _tag: "ParseError"

Defined in: packages/errors/src/index.ts:55

KnotkitError._tag


readonly code: Code

Defined in: packages/errors/src/index.ts:58

KnotkitError.code