Error codes · Types
PW0601
unchecked_external_cast
The program must hold to this: an external value must be decoded, not cast.
Reading the diagnostic
pw check prints the code in brackets, [PW0601], 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.