trySets
SETSWANA TRANSLATION: Begins a block of code whose errors can be caught.
SETSWANA TRANSLATION: Use trySets to wrap code that might fail. If anything inside the block raises an error (via throwSets or otherwise), execution jumps to the matching catchSets block. Pair with finallySets to run cleanup code whether or not an error occurred. 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: trySets { ... } catchSets (e) { ... }SETSWANA TRANSLATION: Examples
SETSWANA TRANSLATION: Section titled “SETSWANA TRANSLATION: Examples”trySets {
throwSets "phoso";
} catchSets (e) {
kwala(e);
}