Defined in: packages/sorted-block/src/errors.ts:53
Thrown when a caller passes a restart interval that is not a positive safe integer, an entry or key that is not
bytes, entries out of strictly ascending byte order, a range whose end sorts before its start, more entries or
bytes than one block addresses, or an object this package did not produce to serializeSortedBlock.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SortedBlockInvalidInputError(
code,message):SortedBlockInvalidInputError
Defined in: packages/errors/src/index.ts:40
Parameters
Section titled “Parameters”"INVALID_RANGE" | "MAX_CAPACITY_EXCEEDED" | "INVALID_KEY" | "INVALID_RESTART_INTERVAL" | "INVALID_ENTRY" | "UNSORTED_KEY" | "DUPLICATE_KEY" | "FOREIGN_SORTED_BLOCK"
message
Section titled “message”string
Returns
Section titled “Returns”SortedBlockInvalidInputError
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_RANGE"|"MAX_CAPACITY_EXCEEDED"|"INVALID_KEY"|"INVALID_RESTART_INTERVAL"|"INVALID_ENTRY"|"UNSORTED_KEY"|"DUPLICATE_KEY"|"FOREIGN_SORTED_BLOCK"
Defined in: packages/errors/src/index.ts:41
Inherited from
Section titled “Inherited from”moduleName
Section titled “moduleName”
readonlymoduleName:"knotkit/sorted-block"
Defined in: packages/sorted-block/src/errors.ts:54