Defined in: packages/graph/src/errors.ts:70
Thrown when decoding a serializeGraph artifact that is malformed or internally inconsistent.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new GraphParseError(
code,message):GraphParseError
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_EDGE_SEQUENCE" | "INVALID_GRAPH_FLAGS"
message
Section titled “message”string
Returns
Section titled “Returns”GraphParseError
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”
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_EDGE_SEQUENCE"|"INVALID_GRAPH_FLAGS"
Defined in: packages/errors/src/index.ts:58
Inherited from
Section titled “Inherited from”moduleName
Section titled “moduleName”
readonlymoduleName:"knotkit/graph"
Defined in: packages/graph/src/errors.ts:71