Error codes · Syntax
PW0001
expected
The program must hold to this: the parser expected a different token here.
Reading the diagnostic
pw check prints the code in brackets, [PW0001], with the sentence above and the place in your program. Errors and diagnostics explains how to read one, and every code is listed with its rule.