Skip to content
docs
Arxo ↗

LDC-Q4012 — The attached case file cannot be read

For LLMs5 sections

A question over a package can carry its own case: a file with the facts to reason about. The engine reads that file before reasoning starts. When the file is missing, unreadable, or not well-formed data, the question cannot run, and the engine reports the path together with what went wrong while reading it.

Check that the path is reachable from where the query runs and that the file holds well-formed data. The question itself stays as written.

LawQL
query q over "demo.diagnostics" { for x: Applicant; where resident(x); select resident(x); case "/tmp/diag-ref-q4012-no-such-case.json"; }
LawQL
from r in rules select r

The engine reports this in its own wording:

Output
LDC-Q4012: failed to read case /tmp/diag-ref-q4012-no-such-case.json: No such file or directory (os error 2).

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.