{"action":"created","comment":{"url":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/comments/218850860","pull_request_review_id":156881130,"id":218850860,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODg1MDg2MA==","diff_hunk":"@@ -0,0 +1,17 @@\n+package com.mongodb.stitch.core.services.mongodb.remote.sync;\n+\n+import org.bson.BsonValue;\n+\n+/**\n+ * ErrorListener receives non-network related errors that occur.\n+ */\n+public interface ErrorListener {\n+\n+  /**\n+   * Called when an error happens for the given document id.\n+   *\n+   * @param documentId the _id of the document related to the error.\n+   * @param error the error.\n+   */\n+  void onError(final BsonValue documentId, final Error error);","path":"core/services/mongodb-remote/src/main/java/com/mongodb/stitch/core/services/mongodb/remote/sync/ErrorListener.java","position":16,"original_position":16,"commit_id":"68da61d4962434c4c002274c26e4cf6ca951874b","original_commit_id":"68da61d4962434c4c002274c26e4cf6ca951874b","user":{"login":"edaniels","id":871746,"node_id":"MDQ6VXNlcjg3MTc0Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/871746?v=4","gravatar_id":"","url":"https://api.github.com/users/edaniels","html_url":"https://github.com/edaniels","followers_url":"https://api.github.com/users/edaniels/followers","following_url":"https://api.github.com/users/edaniels/following{/other_user}","gists_url":"https://api.github.com/users/edaniels/gists{/gist_id}","starred_url":"https://api.github.com/users/edaniels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edaniels/subscriptions","organizations_url":"https://api.github.com/users/edaniels/orgs","repos_url":"https://api.github.com/users/edaniels/repos","events_url":"https://api.github.com/users/edaniels/events{/privacy}","received_events_url":"https://api.github.com/users/edaniels/received_events","type":"User","site_admin":false},"body":"Throwable is also an option but starting at Exception lets us move up to Throwable in the future.","created_at":"2018-09-19T15:26:55Z","updated_at":"2018-09-19T15:29:03Z","html_url":"https://github.com/mongodb/stitch-android-sdk/pull/63#discussion_r218850860","pull_request_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/63","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/comments/218850860"},"html":{"href":"https://github.com/mongodb/stitch-android-sdk/pull/63#discussion_r218850860"},"pull_request":{"href":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/63"}},"in_reply_to_id":218850554},"pull_request":{"url":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/63","id":216435564,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NDM1NTY0","html_url":"https://github.com/mongodb/stitch-android-sdk/pull/63","diff_url":"https://github.com/mongodb/stitch-android-sdk/pull/63.diff","patch_url":"https://github.com/mongodb/stitch-android-sdk/pull/63.patch","issue_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/issues/63","number":63,"state":"open","locked":false,"title":"STITCH-1952 Hook up irrecoverable errors to error listener","user":{"login":"jsflax","id":4356928,"node_id":"MDQ6VXNlcjQzNTY5Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/4356928?v=4","gravatar_id":"","url":"https://api.github.com/users/jsflax","html_url":"https://github.com/jsflax","followers_url":"https://api.github.com/users/jsflax/followers","following_url":"https://api.github.com/users/jsflax/following{/other_user}","gists_url":"https://api.github.com/users/jsflax/gists{/gist_id}","starred_url":"https://api.github.com/users/jsflax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsflax/subscriptions","organizations_url":"https://api.github.com/users/jsflax/orgs","repos_url":"https://api.github.com/users/jsflax/repos","events_url":"https://api.github.com/users/jsflax/events{/privacy}","received_events_url":"https://api.github.com/users/jsflax/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-18T20:34:25Z","updated_at":"2018-09-19T15:29:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"368c37eeffdd17008ee298fb8bbeb6b4ed8ddcc1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/63/commits","review_comments_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/63/comments","review_comment_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/issues/63/comments","statuses_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/statuses/68da61d4962434c4c002274c26e4cf6ca951874b","head":{"label":"jsflax:STITCH-1952","ref":"STITCH-1952","sha":"68da61d4962434c4c002274c26e4cf6ca951874b","user":{"login":"jsflax","id":4356928,"node_id":"MDQ6VXNlcjQzNTY5Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/4356928?v=4","gravatar_id":"","url":"https://api.github.com/users/jsflax","html_url":"https://github.com/jsflax","followers_url":"https://api.github.com/users/jsflax/followers","following_url":"https://api.github.com/users/jsflax/following{/other_user}","gists_url":"https://api.github.com/users/jsflax/gists{/gist_id}","starred_url":"https://api.github.com/users/jsflax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsflax/subscriptions","organizations_url":"https://api.github.com/users/jsflax/orgs","repos_url":"https://api.github.com/users/jsflax/repos","events_url":"https://api.github.com/users/jsflax/events{/privacy}","received_events_url":"https://api.github.com/users/jsflax/received_events","type":"User","site_admin":false},"repo":{"id":111605587,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE2MDU1ODc=","name":"stitch-android-sdk","full_name":"jsflax/stitch-android-sdk","private":false,"owner":{"login":"jsflax","id":4356928,"node_id":"MDQ6VXNlcjQzNTY5Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/4356928?v=4","gravatar_id":"","url":"https://api.github.com/users/jsflax","html_url":"https://github.com/jsflax","followers_url":"https://api.github.com/users/jsflax/followers","following_url":"https://api.github.com/users/jsflax/following{/other_user}","gists_url":"https://api.github.com/users/jsflax/gists{/gist_id}","starred_url":"https://api.github.com/users/jsflax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsflax/subscriptions","organizations_url":"https://api.github.com/users/jsflax/orgs","repos_url":"https://api.github.com/users/jsflax/repos","events_url":"https://api.github.com/users/jsflax/events{/privacy}","received_events_url":"https://api.github.com/users/jsflax/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jsflax/stitch-android-sdk","description":"MongoDB Stitch Android SDK","fork":true,"url":"https://api.github.com/repos/jsflax/stitch-android-sdk","forks_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/forks","keys_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/teams","hooks_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/hooks","issue_events_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/events","assignees_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/tags","blobs_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/languages","stargazers_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/stargazers","contributors_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/contributors","subscribers_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/subscribers","subscription_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/subscription","commits_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/merges","archive_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/downloads","issues_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/labels{/name}","releases_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/jsflax/stitch-android-sdk/deployments","created_at":"2017-11-21T21:55:43Z","updated_at":"2018-09-18T19:50:17Z","pushed_at":"2018-09-18T20:36:32Z","git_url":"git://github.com/jsflax/stitch-android-sdk.git","ssh_url":"git@github.com:jsflax/stitch-android-sdk.git","clone_url":"https://github.com/jsflax/stitch-android-sdk.git","svn_url":"https://github.com/jsflax/stitch-android-sdk","homepage":"","size":1743,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mongodb:master","ref":"master","sha":"d721d39d982f4716ebcda8eb79cadae0a35d204e","user":{"login":"mongodb","id":45120,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1MTIw","avatar_url":"https://avatars1.githubusercontent.com/u/45120?v=4","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":87100729,"node_id":"MDEwOlJlcG9zaXRvcnk4NzEwMDcyOQ==","name":"stitch-android-sdk","full_name":"mongodb/stitch-android-sdk","private":false,"owner":{"login":"mongodb","id":45120,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1MTIw","avatar_url":"https://avatars1.githubusercontent.com/u/45120?v=4","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},"html_url":"https://github.com/mongodb/stitch-android-sdk","description":"MongoDB Stitch Android SDK","fork":false,"url":"https://api.github.com/repos/mongodb/stitch-android-sdk","forks_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/forks","keys_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/teams","hooks_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/hooks","issue_events_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/events","assignees_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/tags","blobs_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/languages","stargazers_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/stargazers","contributors_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/contributors","subscribers_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/subscribers","subscription_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/subscription","commits_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/merges","archive_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/downloads","issues_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/mongodb/stitch-android-sdk/deployments","created_at":"2017-04-03T17:19:42Z","updated_at":"2018-09-18T19:49:29Z","pushed_at":"2018-09-18T20:36:33Z","git_url":"git://github.com/mongodb/stitch-android-sdk.git","ssh_url":"git@github.com:mongodb/stitch-android-sdk.git","clone_url":"https://github.com/mongodb/stitch-android-sdk.git","svn_url":"https://github.com/mongodb/stitch-android-sdk","homepage":"","size":1599,"stargazers_count":23,"watchers_count":23,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":12,"open_issues":1,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/63"},"html":{"href":"https://github.com/mongodb/stitch-android-sdk/pull/63"},"issue":{"href":"https://api.github.com/repos/mongodb/stitch-android-sdk/issues/63"},"comments":{"href":"https://api.github.com/repos/mongodb/stitch-android-sdk/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/stitch-android-sdk/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/stitch-android-sdk/statuses/68da61d4962434c4c002274c26e4cf6ca951874b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"edaniels"}}