{"action":"created","comment":{"url":"https://api.github.com/repos/emil-e/rapidcheck/pulls/comments/43580376","id":43580376,"diff_hunk":"@@ -19,6 +19,36 @@\n                                        __FILE__, __LINE__, (description)));    \\\n   } while (false)\n \n+#define RC_INTERNAL_CHECK_THROWS_RESULT(ResultType, expression, description)   \\\n+  do {                                                                         \\\n+    try {                                                                      \\\n+      expression;                                                              \\\n+    } catch (...) {                                                            \\\n+      break;                                                                   \\\n+    }                                                                          \\\n+    throw ::rc::detail::CaseResult(                                            \\\n+        ::rc::detail::CaseResult::Type::ResultType,                            \\\n+        ::rc::detail::makeDescriptionMessage(                                  \\\n+            __FILE__, __LINE__, description \"(\" #expression \")\"));             \\","path":"include/rapidcheck/Assertions.h","position":14,"original_position":14,"commit_id":"4037dc7aa1b6a9e0edf55c227350d27593136f29","original_commit_id":"4037dc7aa1b6a9e0edf55c227350d27593136f29","user":{"login":"emil-e","id":5737870,"avatar_url":"https://avatars.githubusercontent.com/u/5737870?v=3","gravatar_id":"","url":"https://api.github.com/users/emil-e","html_url":"https://github.com/emil-e","followers_url":"https://api.github.com/users/emil-e/followers","following_url":"https://api.github.com/users/emil-e/following{/other_user}","gists_url":"https://api.github.com/users/emil-e/gists{/gist_id}","starred_url":"https://api.github.com/users/emil-e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emil-e/subscriptions","organizations_url":"https://api.github.com/users/emil-e/orgs","repos_url":"https://api.github.com/users/emil-e/repos","events_url":"https://api.github.com/users/emil-e/events{/privacy}","received_events_url":"https://api.github.com/users/emil-e/received_events","type":"User","site_admin":false},"body":"I'd really like it to say on failure that it was because no exception was thrown for some reason.","created_at":"2015-11-01T09:08:39Z","updated_at":"2015-11-01T09:08:39Z","html_url":"https://github.com/emil-e/rapidcheck/pull/90#discussion_r43580376","pull_request_url":"https://api.github.com/repos/emil-e/rapidcheck/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/emil-e/rapidcheck/pulls/comments/43580376"},"html":{"href":"https://github.com/emil-e/rapidcheck/pull/90#discussion_r43580376"},"pull_request":{"href":"https://api.github.com/repos/emil-e/rapidcheck/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/emil-e/rapidcheck/pulls/90","id":49343493,"html_url":"https://github.com/emil-e/rapidcheck/pull/90","diff_url":"https://github.com/emil-e/rapidcheck/pull/90.diff","patch_url":"https://github.com/emil-e/rapidcheck/pull/90.patch","issue_url":"https://api.github.com/repos/emil-e/rapidcheck/issues/90","number":90,"state":"open","locked":false,"title":"Add exception checking macros","user":{"login":"furuholm","id":977970,"avatar_url":"https://avatars.githubusercontent.com/u/977970?v=3","gravatar_id":"","url":"https://api.github.com/users/furuholm","html_url":"https://github.com/furuholm","followers_url":"https://api.github.com/users/furuholm/followers","following_url":"https://api.github.com/users/furuholm/following{/other_user}","gists_url":"https://api.github.com/users/furuholm/gists{/gist_id}","starred_url":"https://api.github.com/users/furuholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furuholm/subscriptions","organizations_url":"https://api.github.com/users/furuholm/orgs","repos_url":"https://api.github.com/users/furuholm/repos","events_url":"https://api.github.com/users/furuholm/events{/privacy}","received_events_url":"https://api.github.com/users/furuholm/received_events","type":"User","site_admin":false},"body":"Took the naming convention (THROWS and THROWS_AS) from Catch.","created_at":"2015-10-31T06:52:45Z","updated_at":"2015-11-01T09:08:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ef0b6f3710edc33e939361d7c383e035a408eb4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emil-e/rapidcheck/pulls/90/commits","review_comments_url":"https://api.github.com/repos/emil-e/rapidcheck/pulls/90/comments","review_comment_url":"https://api.github.com/repos/emil-e/rapidcheck/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emil-e/rapidcheck/issues/90/comments","statuses_url":"https://api.github.com/repos/emil-e/rapidcheck/statuses/4037dc7aa1b6a9e0edf55c227350d27593136f29","head":{"label":"furuholm:exception_macros","ref":"exception_macros","sha":"4037dc7aa1b6a9e0edf55c227350d27593136f29","user":{"login":"furuholm","id":977970,"avatar_url":"https://avatars.githubusercontent.com/u/977970?v=3","gravatar_id":"","url":"https://api.github.com/users/furuholm","html_url":"https://github.com/furuholm","followers_url":"https://api.github.com/users/furuholm/followers","following_url":"https://api.github.com/users/furuholm/following{/other_user}","gists_url":"https://api.github.com/users/furuholm/gists{/gist_id}","starred_url":"https://api.github.com/users/furuholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furuholm/subscriptions","organizations_url":"https://api.github.com/users/furuholm/orgs","repos_url":"https://api.github.com/users/furuholm/repos","events_url":"https://api.github.com/users/furuholm/events{/privacy}","received_events_url":"https://api.github.com/users/furuholm/received_events","type":"User","site_admin":false},"repo":{"id":32100169,"name":"rapidcheck","full_name":"furuholm/rapidcheck","owner":{"login":"furuholm","id":977970,"avatar_url":"https://avatars.githubusercontent.com/u/977970?v=3","gravatar_id":"","url":"https://api.github.com/users/furuholm","html_url":"https://github.com/furuholm","followers_url":"https://api.github.com/users/furuholm/followers","following_url":"https://api.github.com/users/furuholm/following{/other_user}","gists_url":"https://api.github.com/users/furuholm/gists{/gist_id}","starred_url":"https://api.github.com/users/furuholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furuholm/subscriptions","organizations_url":"https://api.github.com/users/furuholm/orgs","repos_url":"https://api.github.com/users/furuholm/repos","events_url":"https://api.github.com/users/furuholm/events{/privacy}","received_events_url":"https://api.github.com/users/furuholm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/furuholm/rapidcheck","description":"QuickCheck clone for C++ with the goal of being simple to use with as little boilerplate as possible.","fork":true,"url":"https://api.github.com/repos/furuholm/rapidcheck","forks_url":"https://api.github.com/repos/furuholm/rapidcheck/forks","keys_url":"https://api.github.com/repos/furuholm/rapidcheck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/furuholm/rapidcheck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/furuholm/rapidcheck/teams","hooks_url":"https://api.github.com/repos/furuholm/rapidcheck/hooks","issue_events_url":"https://api.github.com/repos/furuholm/rapidcheck/issues/events{/number}","events_url":"https://api.github.com/repos/furuholm/rapidcheck/events","assignees_url":"https://api.github.com/repos/furuholm/rapidcheck/assignees{/user}","branches_url":"https://api.github.com/repos/furuholm/rapidcheck/branches{/branch}","tags_url":"https://api.github.com/repos/furuholm/rapidcheck/tags","blobs_url":"https://api.github.com/repos/furuholm/rapidcheck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/furuholm/rapidcheck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/furuholm/rapidcheck/git/refs{/sha}","trees_url":"https://api.github.com/repos/furuholm/rapidcheck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/furuholm/rapidcheck/statuses/{sha}","languages_url":"https://api.github.com/repos/furuholm/rapidcheck/languages","stargazers_url":"https://api.github.com/repos/furuholm/rapidcheck/stargazers","contributors_url":"https://api.github.com/repos/furuholm/rapidcheck/contributors","subscribers_url":"https://api.github.com/repos/furuholm/rapidcheck/subscribers","subscription_url":"https://api.github.com/repos/furuholm/rapidcheck/subscription","commits_url":"https://api.github.com/repos/furuholm/rapidcheck/commits{/sha}","git_commits_url":"https://api.github.com/repos/furuholm/rapidcheck/git/commits{/sha}","comments_url":"https://api.github.com/repos/furuholm/rapidcheck/comments{/number}","issue_comment_url":"https://api.github.com/repos/furuholm/rapidcheck/issues/comments{/number}","contents_url":"https://api.github.com/repos/furuholm/rapidcheck/contents/{+path}","compare_url":"https://api.github.com/repos/furuholm/rapidcheck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/furuholm/rapidcheck/merges","archive_url":"https://api.github.com/repos/furuholm/rapidcheck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/furuholm/rapidcheck/downloads","issues_url":"https://api.github.com/repos/furuholm/rapidcheck/issues{/number}","pulls_url":"https://api.github.com/repos/furuholm/rapidcheck/pulls{/number}","milestones_url":"https://api.github.com/repos/furuholm/rapidcheck/milestones{/number}","notifications_url":"https://api.github.com/repos/furuholm/rapidcheck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/furuholm/rapidcheck/labels{/name}","releases_url":"https://api.github.com/repos/furuholm/rapidcheck/releases{/id}","created_at":"2015-03-12T20:19:28Z","updated_at":"2015-03-12T20:19:28Z","pushed_at":"2015-10-31T20:31:46Z","git_url":"git://github.com/furuholm/rapidcheck.git","ssh_url":"git@github.com:furuholm/rapidcheck.git","clone_url":"https://github.com/furuholm/rapidcheck.git","svn_url":"https://github.com/furuholm/rapidcheck","homepage":null,"size":1537,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"emil-e:master","ref":"master","sha":"4bf041176a7ec487abf8f42b9854c792aa876d5b","user":{"login":"emil-e","id":5737870,"avatar_url":"https://avatars.githubusercontent.com/u/5737870?v=3","gravatar_id":"","url":"https://api.github.com/users/emil-e","html_url":"https://github.com/emil-e","followers_url":"https://api.github.com/users/emil-e/followers","following_url":"https://api.github.com/users/emil-e/following{/other_user}","gists_url":"https://api.github.com/users/emil-e/gists{/gist_id}","starred_url":"https://api.github.com/users/emil-e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emil-e/subscriptions","organizations_url":"https://api.github.com/users/emil-e/orgs","repos_url":"https://api.github.com/users/emil-e/repos","events_url":"https://api.github.com/users/emil-e/events{/privacy}","received_events_url":"https://api.github.com/users/emil-e/received_events","type":"User","site_admin":false},"repo":{"id":19587527,"name":"rapidcheck","full_name":"emil-e/rapidcheck","owner":{"login":"emil-e","id":5737870,"avatar_url":"https://avatars.githubusercontent.com/u/5737870?v=3","gravatar_id":"","url":"https://api.github.com/users/emil-e","html_url":"https://github.com/emil-e","followers_url":"https://api.github.com/users/emil-e/followers","following_url":"https://api.github.com/users/emil-e/following{/other_user}","gists_url":"https://api.github.com/users/emil-e/gists{/gist_id}","starred_url":"https://api.github.com/users/emil-e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emil-e/subscriptions","organizations_url":"https://api.github.com/users/emil-e/orgs","repos_url":"https://api.github.com/users/emil-e/repos","events_url":"https://api.github.com/users/emil-e/events{/privacy}","received_events_url":"https://api.github.com/users/emil-e/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emil-e/rapidcheck","description":"QuickCheck clone for C++ with the goal of being simple to use with as little boilerplate as possible.","fork":false,"url":"https://api.github.com/repos/emil-e/rapidcheck","forks_url":"https://api.github.com/repos/emil-e/rapidcheck/forks","keys_url":"https://api.github.com/repos/emil-e/rapidcheck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emil-e/rapidcheck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emil-e/rapidcheck/teams","hooks_url":"https://api.github.com/repos/emil-e/rapidcheck/hooks","issue_events_url":"https://api.github.com/repos/emil-e/rapidcheck/issues/events{/number}","events_url":"https://api.github.com/repos/emil-e/rapidcheck/events","assignees_url":"https://api.github.com/repos/emil-e/rapidcheck/assignees{/user}","branches_url":"https://api.github.com/repos/emil-e/rapidcheck/branches{/branch}","tags_url":"https://api.github.com/repos/emil-e/rapidcheck/tags","blobs_url":"https://api.github.com/repos/emil-e/rapidcheck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emil-e/rapidcheck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emil-e/rapidcheck/git/refs{/sha}","trees_url":"https://api.github.com/repos/emil-e/rapidcheck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emil-e/rapidcheck/statuses/{sha}","languages_url":"https://api.github.com/repos/emil-e/rapidcheck/languages","stargazers_url":"https://api.github.com/repos/emil-e/rapidcheck/stargazers","contributors_url":"https://api.github.com/repos/emil-e/rapidcheck/contributors","subscribers_url":"https://api.github.com/repos/emil-e/rapidcheck/subscribers","subscription_url":"https://api.github.com/repos/emil-e/rapidcheck/subscription","commits_url":"https://api.github.com/repos/emil-e/rapidcheck/commits{/sha}","git_commits_url":"https://api.github.com/repos/emil-e/rapidcheck/git/commits{/sha}","comments_url":"https://api.github.com/repos/emil-e/rapidcheck/comments{/number}","issue_comment_url":"https://api.github.com/repos/emil-e/rapidcheck/issues/comments{/number}","contents_url":"https://api.github.com/repos/emil-e/rapidcheck/contents/{+path}","compare_url":"https://api.github.com/repos/emil-e/rapidcheck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emil-e/rapidcheck/merges","archive_url":"https://api.github.com/repos/emil-e/rapidcheck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emil-e/rapidcheck/downloads","issues_url":"https://api.github.com/repos/emil-e/rapidcheck/issues{/number}","pulls_url":"https://api.github.com/repos/emil-e/rapidcheck/pulls{/number}","milestones_url":"https://api.github.com/repos/emil-e/rapidcheck/milestones{/number}","notifications_url":"https://api.github.com/repos/emil-e/rapidcheck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emil-e/rapidcheck/labels{/name}","releases_url":"https://api.github.com/repos/emil-e/rapidcheck/releases{/id}","created_at":"2014-05-08T20:19:43Z","updated_at":"2015-10-30T13:04:01Z","pushed_at":"2015-10-31T20:31:46Z","git_url":"git://github.com/emil-e/rapidcheck.git","ssh_url":"git@github.com:emil-e/rapidcheck.git","clone_url":"https://github.com/emil-e/rapidcheck.git","svn_url":"https://github.com/emil-e/rapidcheck","homepage":null,"size":2369,"stargazers_count":102,"watchers_count":102,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":26,"forks":4,"open_issues":26,"watchers":102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emil-e/rapidcheck/pulls/90"},"html":{"href":"https://github.com/emil-e/rapidcheck/pull/90"},"issue":{"href":"https://api.github.com/repos/emil-e/rapidcheck/issues/90"},"comments":{"href":"https://api.github.com/repos/emil-e/rapidcheck/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/emil-e/rapidcheck/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/emil-e/rapidcheck/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emil-e/rapidcheck/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/emil-e/rapidcheck/statuses/4037dc7aa1b6a9e0edf55c227350d27593136f29"}}}}