Defined in: packages/hash/src/errors.ts:35
Thrown when a serialized hash identity is malformed or unsupported.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HashParseError(
code,message):HashParseError
Defined in: packages/errors/src/index.ts:57
Parameters
Section titled “Parameters”"UNKNOWN_KIND" | "INVALID_SHAPE" | "INVALID_SEED" | "UNSUPPORTED_VERSION"
message
Section titled “message”string
Returns
Section titled “Returns”HashParseError
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:"UNKNOWN_KIND"|"INVALID_SHAPE"|"INVALID_SEED"|"UNSUPPORTED_VERSION"
Defined in: packages/errors/src/index.ts:58
Inherited from
Section titled “Inherited from”moduleName
Section titled “moduleName”
readonlymoduleName:"knotkit/hash"
Defined in: packages/hash/src/errors.ts:36