Defined in: packages/disjoint-set/src/errors.ts:63
Thrown when a caller passes an element or size that violates a DisjointSet’s public contract.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DisjointSetInvalidInputError(
code,message):DisjointSetInvalidInputError
Defined in: packages/errors/src/index.ts:40
Parameters
Section titled “Parameters”"INVALID_CODEC_RESULT" | "NON_INJECTIVE_CODEC" | "SERIALIZATION_LIMIT_EXCEEDED" | "ELEMENT_NOT_FOUND" | "ELEMENT_ALREADY_REGISTERED" | "SIZE_OUT_OF_RANGE" | "MAX_SIZE_EXCEEDED" | "MISSING_ELEMENT_CODEC"
message
Section titled “message”string
Returns
Section titled “Returns”DisjointSetInvalidInputError
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”moduleName
Section titled “moduleName”
readonlymoduleName:"knotkit/disjoint-set"
Defined in: packages/disjoint-set/src/errors.ts:64
Overrides
Section titled “Overrides”
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"|"ELEMENT_NOT_FOUND"|"ELEMENT_ALREADY_REGISTERED"|"SIZE_OUT_OF_RANGE"|"MAX_SIZE_EXCEEDED"|"MISSING_ELEMENT_CODEC"
Defined in: packages/errors/src/index.ts:41