throwSets
SETSWANA TRANSLATION: Raises an error value to be handled by a surrounding
catchSets.
SETSWANA TRANSLATION: Use throwSets to raise an error from inside a trySets block. The thrown value (a string, number, or object) is passed to the matching catchSets binding. This is a placeholder Setswana name — the canonical Setswana translation will be chosen later.
SETSWANA TRANSLATION: Syntax
SETSWANA TRANSLATION: Section titled “SETSWANA TRANSLATION: Syntax”SETSWANA TRANSLATION: throwSets boleng;SETSWANA TRANSLATION: Examples
SETSWANA TRANSLATION: Section titled “SETSWANA TRANSLATION: Examples”trySets {
throwSets "phoso";
} catchSets (e) {
kwala(e);
}