parent
0b3a45692c
commit
e7e9007c4c
1 changed files with 46 additions and 45 deletions
|
|
@ -1897,7 +1897,8 @@ else:
|
|||
# however, stack-traces are available for most parts
|
||||
# of the code
|
||||
|
||||
var
|
||||
when notJSnotNims:
|
||||
var
|
||||
globalRaiseHook*: proc (e: ref Exception): bool {.nimcall, benign.}
|
||||
## With this hook you can influence exception handling on a global level.
|
||||
## If not nil, every 'raise' statement ends up calling this hook.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue