parent
7361e2627b
commit
7f377da1d2
3 changed files with 3 additions and 3 deletions
|
|
@ -345,7 +345,7 @@ else:
|
|||
proc stackTraceAvailable*(): bool = result = false
|
||||
|
||||
var onUnhandledException*: (proc (errorMsg: string) {.
|
||||
nimcall.}) ## Set this error \
|
||||
nimcall, gcsafe.}) ## Set this error \
|
||||
## handler to override the existing behaviour on an unhandled exception.
|
||||
##
|
||||
## The default is to write a stacktrace to ``stderr`` and then call ``quit(1)``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue