P0004 · Parse · errorGeneric parse error
A parse-level error that did not match a more specific classifier. Read the diagnostic message for the precise cause.
A full explainer for this code hasn't been written yet. The summary above is the current authoritative description.
Want to contribute? Add docs/errors/<code>.md in the repo and the page will pick it up automatically.