4.6.33 safe_apply(Module, Function, Args)

-spec safe_apply(module(), atom(), list()) -> {ok,
                                               term()} |
                                              wrapped_exception().

Apply a function while catching all exceptions and returning them as a term.

JavaScript license information