Get rid of more deprecation warnings by renaming exceptions
This commit is contained in:
parent
a89ad11c3c
commit
7894f50a56
2 changed files with 4 additions and 4 deletions
|
|
@ -33,10 +33,10 @@ proc quitOrDebug() {.inline.} =
|
|||
quit(1)
|
||||
|
||||
proc raiseException(e: ref Exception, ename: cstring) {.compilerRtl.} =
|
||||
sysFatal(ENoExceptionToReraise, "exception handling is not available")
|
||||
sysFatal(ReraiseError, "exception handling is not available")
|
||||
|
||||
proc reraiseException() {.compilerRtl.} =
|
||||
sysFatal(ENoExceptionToReraise, "no exception to reraise")
|
||||
sysFatal(ReraiseError, "no exception to reraise")
|
||||
|
||||
proc writeStackTrace() = discard
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue