{"action":"closed","issue":{"url":"https://api.github.com/repos/cesanta/v7/issues/501","labels_url":"https://api.github.com/repos/cesanta/v7/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/cesanta/v7/issues/501/comments","events_url":"https://api.github.com/repos/cesanta/v7/issues/501/events","html_url":"https://github.com/cesanta/v7/issues/501","id":104071597,"number":501,"title":"There is no way to tell v7_apply has thrown","user":{"login":"edvakf","id":28143,"avatar_url":"https://avatars.githubusercontent.com/u/28143?v=3","gravatar_id":"","url":"https://api.github.com/users/edvakf","html_url":"https://github.com/edvakf","followers_url":"https://api.github.com/users/edvakf/followers","following_url":"https://api.github.com/users/edvakf/following{/other_user}","gists_url":"https://api.github.com/users/edvakf/gists{/gist_id}","starred_url":"https://api.github.com/users/edvakf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvakf/subscriptions","organizations_url":"https://api.github.com/users/edvakf/orgs","repos_url":"https://api.github.com/users/edvakf/repos","events_url":"https://api.github.com/users/edvakf/events{/privacy}","received_events_url":"https://api.github.com/users/edvakf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-31T15:04:20Z","updated_at":"2015-09-02T16:57:49Z","closed_at":"2015-09-02T16:57:49Z","body":"`v7_exec` returns `enum v7_err` so we can tell if it throws. Maybe it's good to change v7_apply to return `enum v7_err` as well?\r\n\r\n```\r\nenum v7_err v7_exec(struct v7 *, v7_val_t *result, const char *js_code);\r\nv7_val_t v7_apply(struct v7 *, v7_val_t func, v7_val_t this_obj, v7_val_t args);\r\n```\r\n\r\n"}}