T146errorwarning

Formatting function misused

F or LF is called incorrectly, or with a value it may not format.

It is an error when F or LF does not get exactly one argument. It is a warning when the argument is not a number (int, float, Decimal, BigInt or Money), a time (time.Time or DateTime) or a string.

Pass one value of a supported type.

$ piko explain T146

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeFormatDirectiveError in Piko's source to see where it is reported.