bugfix: exception handling (still not correct)
This commit is contained in:
parent
909f7dbf8c
commit
c441cdb64c
18 changed files with 145 additions and 39 deletions
6
tests/accept/run/twrongexc.nim
Normal file
6
tests/accept/run/twrongexc.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
try:
|
||||
raise newException(EInvalidValue, "")
|
||||
except EOverflow:
|
||||
echo("Error caught")
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue