qgserde - v0.3.1
    Preparing search index...

    Type Alias QgsErrorCode

    QgsErrorCode:
        | "INVALID_XML"
        | "INVALID_PROJECT"
        | "INVALID_JSON"
        | "INVALID_VERSION"
        | "INVALID_EDIT"

    Error categories available through QgsError.code.

    • INVALID_XML: Malformed or unsupported XML, internal DTD subsets, or excessive depth.
    • INVALID_PROJECT: Invalid root, required attributes, or modeled values.
    • INVALID_JSON: Malformed JSON or a missing qgserde JSON envelope.
    • INVALID_VERSION: Invalid version syntax, a missing target, an unsupported target major version, or JSON written by an incompatible qgserde version.
    • INVALID_EDIT: Duplicate IDs, cycles, edits that would lose data, or other invalid model data.