Files
cground/tests/catch.grnd

13 lines
152 B
Plaintext
Raw Permalink Normal View History

2026-04-15 10:37:14 +10:00
fun !throws -int
throw "MyError" "longer error message"
endfun
catch "MyError" %catcher
call !throws &res
end 0
@catcher
println "ruh roh"
end 1