P0003 · Parse · errorUnexpected token
A token appeared where the grammar does not allow it — typically a stray symbol, a misspelled keyword, or a missing separator on the previous line.
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.