Defined in: packages/hash/src/errors.ts:30
Thrown when a caller supplies an invalid hash input or state transition.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HashInvalidInputError(
code,message):HashInvalidInputError
Defined in: packages/errors/src/index.ts:40
Parameters
Section titled “Parameters”"INVALID_STRING" | "INVALID_BYTES" | "INVALID_UINT32" | "INVALID_UINT64" | "INVALID_SEED" | "INVALID_CHUNK" | "INVALID_OUTPUT" | "INVALID_DIGEST" | "INPUT_TOO_LONG" | "STATE_FINALIZED"
message
Section titled “message”string
Returns
Section titled “Returns”HashInvalidInputError
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”
readonly_tag:"InvalidInputError"
Defined in: packages/errors/src/index.ts:38
Inherited from
Section titled “Inherited from”
readonlycode:"INVALID_STRING"|"INVALID_BYTES"|"INVALID_UINT32"|"INVALID_UINT64"|"INVALID_SEED"|"INVALID_CHUNK"|"INVALID_OUTPUT"|"INVALID_DIGEST"|"INPUT_TOO_LONG"|"STATE_FINALIZED"
Defined in: packages/errors/src/index.ts:41
Inherited from
Section titled “Inherited from”moduleName
Section titled “moduleName”
readonlymoduleName:"knotkit/hash"
Defined in: packages/hash/src/errors.ts:31