Every code, explained

When Piko finds a problem in a template or while a page renders, it reports it with a stable code. Here is what each one means and how to fix it.

$ piko explain T141prints the same explanation in your terminal
errorStops the build, or marks a render that failed.
warningA likely mistake. The build carries on.
infoWorth knowing. The build carries on.

Template expressions

T0xx

Reported while a template's expressions and directives are parsed, before any types are checked.

Template analysis

T1xx

Reported while templates are type-checked against their Go code, and while components, props, assets and styles are linked.

Rendering

R0xx

Reported by generated code while a page renders. They appear in the server log rather than in build output, and the page still renders: a nil read or an out-of-range index gives a zero value instead of a panic.

Codes starting with Q come from Piko's SQL generator, Seagull, and are explained at seagull.sh. A code keeps its meaning, and a number is never reused.