Files
pplus-library/mojo/probes/error-try-finally.mojo
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

11 lines
211 B
Mojo

# probe: the order of try, except and finally
def main():
try:
print("try")
raise Error("x")
except e:
print("except", e)
finally:
print("finally")
print("after")