Defined in: packages/bitset/src/errors.ts:60
Thrown when decoding a serializeBitset artifact that is malformed or internally inconsistent.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BitsetParseError(
code,message):BitsetParseError
Defined in: packages/errors/src/index.ts:57
Parameters
Section titled “Parameters”"INVALID_CODEC_RESULT" | "INVALID_MAGIC" | "UNSUPPORTED_ENVELOPE_VERSION" | "UNSUPPORTED_PAYLOAD_VERSION" | "INVALID_SECTION_GEOMETRY" | "NONZERO_PADDING" | "MISALIGNED_SECTION" | "TRUNCATED_PAYLOAD" | "DECODE_BUDGET_EXCEEDED" | "UNSTABLE_BUFFER" | "WRONG_FORMAT" | "INTEGRITY_MISMATCH" | "UNKNOWN_KIND" | "INVALID_PACKAGE_HEADER" | "INVALID_ID_SEQUENCE" | "CARDINALITY_MISMATCH"
message
Section titled “message”string
Returns
Section titled “Returns”BitsetParseError
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”moduleName
Section titled “moduleName”
readonlymoduleName:"knotkit/bitset"
Defined in: packages/bitset/src/errors.ts:61
Overrides
Section titled “Overrides”
readonly_tag:"ParseError"
Defined in: packages/errors/src/index.ts:55
Inherited from
Section titled “Inherited from”
readonlycode:"INVALID_CODEC_RESULT"|"INVALID_MAGIC"|"UNSUPPORTED_ENVELOPE_VERSION"|"UNSUPPORTED_PAYLOAD_VERSION"|"INVALID_SECTION_GEOMETRY"|"NONZERO_PADDING"|"MISALIGNED_SECTION"|"TRUNCATED_PAYLOAD"|"DECODE_BUDGET_EXCEEDED"|"UNSTABLE_BUFFER"|"WRONG_FORMAT"|"INTEGRITY_MISMATCH"|"UNKNOWN_KIND"|"INVALID_PACKAGE_HEADER"|"INVALID_ID_SEQUENCE"|"CARDINALITY_MISMATCH"
Defined in: packages/errors/src/index.ts:58