RosettaCodeData/Task/Exceptions/Phix/exceptions-2.phix

10 lines
139 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
try
one_of(these)
catch e
if e[E_CODE]=501 then
puts(1,"that's no excuse!\n")
else
throw(e)
end if
end try