gatelineAPI reference
StateProblem:
    | { diagnostic: string; kind: "parser"; ledger: ArtifactRef }
    | { kind: "absent"; ledger: ArtifactRef }
    | { kind: "unexplained"; ledger: ArtifactRef }

Type declaration

  • { diagnostic: string; kind: "parser"; ledger: ArtifactRef }

    The file is there and the run state parser refused it. diagnostic is its message, verbatim, caret and all.

  • { kind: "absent"; ledger: ArtifactRef }

    No state file at the run's ref, so there was nothing to parse.

  • { kind: "unexplained"; ledger: ArtifactRef }

    The file is there, no state came of it, and the source gave no reason.