RosettaCodeData/Task/Exceptions/Langur/exceptions-2.langur
2024-04-19 16:56:29 -07:00

11 lines
148 B
Text

100 / 0
catch {
if _err'cat == "math" {
# change result
123
} else {
# rethrow the exception
throw
}
}