[erlang-patches] add enif_is_exception

Niclas Axelsson <>
Fri Feb 25 17:27:57 CET 2011

On 02/25/2011 06:56 AM, Steve Vinoski wrote:
> This patch adds a new NIF API function enif_is_exception to allow
> applications to check whether an ERL_NIF_TERM is an exception or not.
> It adds a new test for the new function and also documents the new
> function. It also clarifies what applications are permitted to do with
> the ERL_NIF_TERM returned from enif_make_badarg.
> git fetch git://github.com/vinoski/otp.git enif_is_exception
> Thanks to Sverker Eriksson for guidance in putting this patch together.
> --steve
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
Thanks Steve,

Included in 'pu'.

Niclas Axelsson, Erlang/OTP

More information about the erlang-patches mailing list