Error codes · Markup
PW5051
canonical_address
The program must hold to this: a page's canonical address is a page's, href={Page(args)}, served at a route without a query part, each argument a value the page reads or text.
The decisions behind it
Reading the diagnostic
pw check prints the code in brackets, [PW5051], 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.