Defined in: packages/key-encoding/src/errors.ts:37
Thrown when bytes handed to a decoder are not an encoding this module produces.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new KeyEncodingParseError(
code,message):KeyEncodingParseError
Defined in: packages/errors/src/index.ts:57
Parameters
Section titled “Parameters”"TRUNCATED_KEY" | "INVALID_ESCAPE_SEQUENCE" | "UNKNOWN_PART_TAG" | "INVALID_UTF8" | "NON_CANONICAL_FLOAT64" | "TRAILING_BYTES"
message
Section titled “message”string
Returns
Section titled “Returns”KeyEncodingParseError
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”
readonly_tag:"ParseError"
Defined in: packages/errors/src/index.ts:55
Inherited from
Section titled “Inherited from”
readonlycode:"TRUNCATED_KEY"|"INVALID_ESCAPE_SEQUENCE"|"UNKNOWN_PART_TAG"|"INVALID_UTF8"|"NON_CANONICAL_FLOAT64"|"TRAILING_BYTES"
Defined in: packages/errors/src/index.ts:58
Inherited from
Section titled “Inherited from”moduleName
Section titled “moduleName”
readonlymoduleName:"knotkit/key-encoding"
Defined in: packages/key-encoding/src/errors.ts:38