Error codes · Declarations and their clauses
PW0342
not_found_names_a_case
The program must hold to this: a page's not_found_on names a case of an error a query it reads can answer.
The decisions behind it
Reading the diagnostic
pw check prints the code in brackets, [PW0342], 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.