Error codes · Caches, keys and invalidation
PW5108
read_names_another_kind
The program must hold to this: a query reads a query or a resource, or in a materialization's body one that derives its value; and a subscription a subscription.
The decisions behind it
Reading the diagnostic
pw check prints the code in brackets, [PW5108], 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.