RosettaCodeData/Task/Exceptions/Zkl/exceptions-1.zkl
2023-07-01 13:44:08 -04:00

4 lines
143 B
Text

try{ throw(Exception.BadDay) }
catch { println(__exception," was thrown") }
fallthrough { println("No exception was thrown") }
println("OK");