Skip to content

Defined in: packages/key-encoding/src/errors.ts:37

Thrown when bytes handed to a decoder are not an encoding this module produces.

new KeyEncodingParseError(code, message): KeyEncodingParseError

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

"TRUNCATED_KEY" | "INVALID_ESCAPE_SEQUENCE" | "UNKNOWN_PART_TAG" | "INVALID_UTF8" | "NON_CANONICAL_FLOAT64" | "TRAILING_BYTES"

string

KeyEncodingParseError

ParseError.constructor

readonly _tag: "ParseError"

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

ParseError._tag


readonly code: "TRUNCATED_KEY" | "INVALID_ESCAPE_SEQUENCE" | "UNKNOWN_PART_TAG" | "INVALID_UTF8" | "NON_CANONICAL_FLOAT64" | "TRAILING_BYTES"

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

ParseError.code


readonly moduleName: "knotkit/key-encoding"

Defined in: packages/key-encoding/src/errors.ts:38

ParseError.moduleName