{"action":"created","comment":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments/47573575","id":47573575,"diff_hunk":"@@ -0,0 +1,37 @@\n+// Copyright 2015 MongoDB Inc.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+// http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+#include <bsoncxx/config/prelude.hpp>\n+\n+#include <bsoncxx/exception/exception.hpp>\n+\n+namespace bsoncxx {\n+BSONCXX_INLINE_NAMESPACE_BEGIN\n+namespace exception {","path":"src/bsoncxx/exception/exception.cpp","position":21,"original_position":21,"commit_id":"59843a33b1bd454cb6aa82b78bb67d07b947a8da","original_commit_id":"59843a33b1bd454cb6aa82b78bb67d07b947a8da","user":{"login":"samantharitter","id":1824529,"avatar_url":"https://avatars.githubusercontent.com/u/1824529?v=3","gravatar_id":"","url":"https://api.github.com/users/samantharitter","html_url":"https://github.com/samantharitter","followers_url":"https://api.github.com/users/samantharitter/followers","following_url":"https://api.github.com/users/samantharitter/following{/other_user}","gists_url":"https://api.github.com/users/samantharitter/gists{/gist_id}","starred_url":"https://api.github.com/users/samantharitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samantharitter/subscriptions","organizations_url":"https://api.github.com/users/samantharitter/orgs","repos_url":"https://api.github.com/users/samantharitter/repos","events_url":"https://api.github.com/users/samantharitter/events{/privacy}","received_events_url":"https://api.github.com/users/samantharitter/received_events","type":"User","site_admin":false},"body":"Darn I thought I found them all and deleted them!  This one is left-over.","created_at":"2015-12-14T23:07:56Z","updated_at":"2015-12-14T23:07:56Z","html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/397#discussion_r47573575","pull_request_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/397","_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments/47573575"},"html":{"href":"https://github.com/mongodb/mongo-cxx-driver/pull/397#discussion_r47573575"},"pull_request":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/397"}}},"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/397","id":53626258,"html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/397","diff_url":"https://github.com/mongodb/mongo-cxx-driver/pull/397.diff","patch_url":"https://github.com/mongodb/mongo-cxx-driver/pull/397.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/397","number":397,"state":"open","locked":false,"title":"CXX-768 Bsoncxx error handling","user":{"login":"samantharitter","id":1824529,"avatar_url":"https://avatars.githubusercontent.com/u/1824529?v=3","gravatar_id":"","url":"https://api.github.com/users/samantharitter","html_url":"https://github.com/samantharitter","followers_url":"https://api.github.com/users/samantharitter/followers","following_url":"https://api.github.com/users/samantharitter/following{/other_user}","gists_url":"https://api.github.com/users/samantharitter/gists{/gist_id}","starred_url":"https://api.github.com/users/samantharitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samantharitter/subscriptions","organizations_url":"https://api.github.com/users/samantharitter/orgs","repos_url":"https://api.github.com/users/samantharitter/repos","events_url":"https://api.github.com/users/samantharitter/events{/privacy}","received_events_url":"https://api.github.com/users/samantharitter/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-14T21:43:04Z","updated_at":"2015-12-14T23:07:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8bb0a0ef97c0e600761d83ed12f16f4a4cdb3ecd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/397/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/397/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/397/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/statuses/59843a33b1bd454cb6aa82b78bb67d07b947a8da","head":{"label":"samantharitter:CXX-768","ref":"CXX-768","sha":"59843a33b1bd454cb6aa82b78bb67d07b947a8da","user":{"login":"samantharitter","id":1824529,"avatar_url":"https://avatars.githubusercontent.com/u/1824529?v=3","gravatar_id":"","url":"https://api.github.com/users/samantharitter","html_url":"https://github.com/samantharitter","followers_url":"https://api.github.com/users/samantharitter/followers","following_url":"https://api.github.com/users/samantharitter/following{/other_user}","gists_url":"https://api.github.com/users/samantharitter/gists{/gist_id}","starred_url":"https://api.github.com/users/samantharitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samantharitter/subscriptions","organizations_url":"https://api.github.com/users/samantharitter/orgs","repos_url":"https://api.github.com/users/samantharitter/repos","events_url":"https://api.github.com/users/samantharitter/events{/privacy}","received_events_url":"https://api.github.com/users/samantharitter/received_events","type":"User","site_admin":false},"repo":{"id":22432476,"name":"mongo-cxx-driver","full_name":"samantharitter/mongo-cxx-driver","owner":{"login":"samantharitter","id":1824529,"avatar_url":"https://avatars.githubusercontent.com/u/1824529?v=3","gravatar_id":"","url":"https://api.github.com/users/samantharitter","html_url":"https://github.com/samantharitter","followers_url":"https://api.github.com/users/samantharitter/followers","following_url":"https://api.github.com/users/samantharitter/following{/other_user}","gists_url":"https://api.github.com/users/samantharitter/gists{/gist_id}","starred_url":"https://api.github.com/users/samantharitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samantharitter/subscriptions","organizations_url":"https://api.github.com/users/samantharitter/orgs","repos_url":"https://api.github.com/users/samantharitter/repos","events_url":"https://api.github.com/users/samantharitter/events{/privacy}","received_events_url":"https://api.github.com/users/samantharitter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samantharitter/mongo-cxx-driver","description":"C++ Driver for MongoDB","fork":true,"url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver","forks_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/forks","keys_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/teams","hooks_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/hooks","issue_events_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/issues/events{/number}","events_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/events","assignees_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/assignees{/user}","branches_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/branches{/branch}","tags_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/tags","blobs_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/languages","stargazers_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/stargazers","contributors_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/contributors","subscribers_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/subscribers","subscription_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/subscription","commits_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/contents/{+path}","compare_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/merges","archive_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/downloads","issues_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/issues{/number}","pulls_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/labels{/name}","releases_url":"https://api.github.com/repos/samantharitter/mongo-cxx-driver/releases{/id}","created_at":"2014-07-30T15:02:13Z","updated_at":"2014-07-30T08:18:46Z","pushed_at":"2015-12-14T21:41:18Z","git_url":"git://github.com/samantharitter/mongo-cxx-driver.git","ssh_url":"git@github.com:samantharitter/mongo-cxx-driver.git","clone_url":"https://github.com/samantharitter/mongo-cxx-driver.git","svn_url":"https://github.com/samantharitter/mongo-cxx-driver","homepage":null,"size":4988,"stargazers_count":0,"watchers_count":0,"language":null,"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":"legacy"}},"base":{"label":"mongodb:master","ref":"master","sha":"05459816cae6258bad01d248574629795b7d398e","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":15881868,"name":"mongo-cxx-driver","full_name":"mongodb/mongo-cxx-driver","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/mongo-cxx-driver","description":"C++ Driver for MongoDB","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver","forks_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/releases{/id}","created_at":"2014-01-13T21:08:36Z","updated_at":"2015-12-11T11:59:49Z","pushed_at":"2015-12-14T22:21:39Z","git_url":"git://github.com/mongodb/mongo-cxx-driver.git","ssh_url":"git@github.com:mongodb/mongo-cxx-driver.git","clone_url":"https://github.com/mongodb/mongo-cxx-driver.git","svn_url":"https://github.com/mongodb/mongo-cxx-driver","homepage":null,"size":6769,"stargazers_count":210,"watchers_count":210,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":190,"mirror_url":null,"open_issues_count":10,"forks":190,"open_issues":10,"watchers":210,"default_branch":"legacy"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/397"},"html":{"href":"https://github.com/mongodb/mongo-cxx-driver/pull/397"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/397"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/397/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/397/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/397/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/statuses/59843a33b1bd454cb6aa82b78bb67d07b947a8da"}}}}