func and then call callback with the resultcallback will be called with two arguments, the first one will the
error object if func() threw an error, or NULL otherwise. The second
argument is NULL on error, and the result of func() otherwise.
call_with_callback(func, callback, info = NULL)Function to call.
Callback to call with the result of func(),
or the error thrown.
Extra info to add to the error object. Must be a named list.