A part of the page that may fail to draw says so with try, and what stands in its place with else. A failure has words for a person and a kind for the program; on failure hears whatever nothing else did.
try … else errUnder try, anything that throws while it is built or updated is caught: here a chart given rows it cannot read. else err is built in its place; again builds the try once more, once what it reads is fixed.
MON
TUE
WED
THU
4 rows, the biggest 9
A derive that throwsIn a program with a try, a derive that throws keeps its failure and hands it to whatever reads it: the try around that reader catches it. Break the JSON in the field, then mend it and press again.
parsed
3 items: oak, ash, elm
Nested, and with no elseThe innermost try around what failed hears it. A try with no else leaves nothing there, and on failure (below) is told.
inner 10outer 10
bare 10
A kind and data of one's ownfail(words, {kind, data}) gives a failure a kind the program tells apart and data it can read; the words are for a person. Under else err =>, err.kind and err.data; of an action, failure(a)?.kind.
total120
people3
said
Press a split. Try 0 people, or more than 500.
c ? a()? : b()?A choice between two calls that can fail: each arm passes its failure on with ?, and the : still reads as the choice's.
exactsplit(total, people)?
on failure(f)One block at the top of a file hears every failure nothing else did, in the whole program: an action whose failure nobody reads, a fault of the page's own code (f.at is the line it was written on, as the back end reads it from the source map), a try with no else. These are the last six this program heard.