Error codes · Names and imports
PW0023
private_access
The program must hold to this: a private declaration is not visible outside its module.
Reading the diagnostic
pw check prints the code in brackets, [PW0023], 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.