diff options
author | Steve Vinoski <[email protected]> | 2015-05-06 23:15:04 -0400 |
---|---|---|
committer | Steve Vinoski <[email protected]> | 2015-05-26 11:59:24 -0400 |
commit | 17735c9f3879145f43a3e4be0369b7117b1b7b84 (patch) | |
tree | 023c9e747367897606aca135e39e6f1f1fae5788 /erts/include | |
parent | 884afd8efb8672df2889df98b5b94f3dbb53952c (diff) | |
download | otp-17735c9f3879145f43a3e4be0369b7117b1b7b84.tar.gz otp-17735c9f3879145f43a3e4be0369b7117b1b7b84.tar.bz2 otp-17735c9f3879145f43a3e4be0369b7117b1b7b84.zip |
Add enif_raise_exception
Add enif_raise_exception function to allow NIFs to raise error
exceptions holding any Erlang terms. This does not replace or
deprecate the enif_make_badarg function, though, because raising
badarg errors is so idiomatic in NIFs. Reimplement enif_make_badarg on
top of enif_raise_exception. Add new tests for enif_raise_exception
for both normal and dirty NIFs. Add documentation for
enif_raise_exception.
Diffstat (limited to 'erts/include')
0 files changed, 0 insertions, 0 deletions