latlha
→ throwRaises an error value to be handled by a surrounding `tshwara`.
latlha boleng;Use latlha to raise an error from inside a leka block. The thrown value (a string, number, or object) is passed to the matching tshwara binding.
Examples
Section titled “Examples”leka {
latlha "phoso";
} tshwara (e) {
kwala(e);
}