Defined in: packages/heap/src/errors.ts:77
Thrown when a caller misuses a live structure: popping or peeking an empty one, pushing a duplicate priority-queue value, or passing an object this package did not produce.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HeapInvalidInputError(
code,message):HeapInvalidInputError
Defined in: packages/errors/src/index.ts:40
Parameters
Section titled “Parameters”"INVALID_CODEC_RESULT" | "NON_INJECTIVE_CODEC" | "SERIALIZATION_LIMIT_EXCEEDED" | "INVALID_CAPACITY" | "INVALID_VALUE" | "EMPTY" | "MISSING_ELEMENT_CODEC" | "INVALID_ARITY" | "DUPLICATE_VALUE" | "VALUE_NOT_FOUND" | "FOREIGN_STRUCTURE"
message
Section titled “message”string
Returns
Section titled “Returns”HeapInvalidInputError
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_CODEC_RESULT"|"NON_INJECTIVE_CODEC"|"SERIALIZATION_LIMIT_EXCEEDED"|"INVALID_CAPACITY"|"INVALID_VALUE"|"EMPTY"|"MISSING_ELEMENT_CODEC"|"INVALID_ARITY"|"DUPLICATE_VALUE"|"VALUE_NOT_FOUND"|"FOREIGN_STRUCTURE"
Defined in: packages/errors/src/index.ts:41
Inherited from
Section titled “Inherited from”moduleName
Section titled “moduleName”
readonlymoduleName:"knotkit/heap"
Defined in: packages/heap/src/errors.ts:78