Code

T0027 cannot-work-out

A value word was handed a value of another kind than it works with. The error names the word and the value.

Details

The valueWhere
A length of time that does not read, or one below zeroword.later, word.earlier
A unit a day does not have, as hoursword.later, word.earlier, word.between
A moment and a day togetherword.between
A zone the runtime does not knowword.dayOf
A day or a moment that would lie outside the calendar, which runs from 0001-01-01 to 9999-12-31word.later, word.earlier, word.dayOf
A step of zeroword.range
Nothing where a list is needed, and an entry of another kindword.sum, word.avg, word.min, word.max, word.join, word.each, word.where
A number where a text is needed, and a text where a number isThe words for text and for numbers
A list or a text that one word would make larger than the limit valueSize, which is 1,000,000 unless limits of the project says otherwiseEvery word that makes one

A length of time that is written in a definition and does not read is found when the project is described, as T1011.

The fix

Hand the word the kind of value it works with. A value that may be missing is tested first, or is handed to a word that lets nothing pass: later, earlier, between and dayOf answer nothing for nothing.

See also

topic.values

Tent.js