Skip to content

@graphty/graphty-element / index / ProjectProblem

Type Alias: ProjectProblem ​

ProjectProblem = CodedFact<GraphtyErrorCode | GraphtyWarningCode>

Defined in: graphty-element/src/session/projectFile.ts:78

Something about a save or an open, as a code and the values it is about.

The codes are the element's error and warning codes. The params a project problem may carry: slice (the ProjectSlice it concerns), id (the run, layer or set), index (the member's position in the file), kind (the member's kind), found (a version), needs (the paths a layer reads that nothing answers) and pointer (a JSON pointer inside a member).