{"action":"opened","number":31,"pull_request":{"url":"https://api.github.com/repos/operable/cog-api-client/pulls/31","id":63596100,"html_url":"https://github.com/operable/cog-api-client/pull/31","diff_url":"https://github.com/operable/cog-api-client/pull/31.diff","patch_url":"https://github.com/operable/cog-api-client/pull/31.patch","issue_url":"https://api.github.com/repos/operable/cog-api-client/issues/31","number":31,"state":"open","locked":false,"title":"Consistent error handling *NOT for merging into HEAD*","user":{"login":"lhaskins","id":5166016,"avatar_url":"https://avatars.githubusercontent.com/u/5166016?v=3","gravatar_id":"","url":"https://api.github.com/users/lhaskins","html_url":"https://github.com/lhaskins","followers_url":"https://api.github.com/users/lhaskins/followers","following_url":"https://api.github.com/users/lhaskins/following{/other_user}","gists_url":"https://api.github.com/users/lhaskins/gists{/gist_id}","starred_url":"https://api.github.com/users/lhaskins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhaskins/subscriptions","organizations_url":"https://api.github.com/users/lhaskins/orgs","repos_url":"https://api.github.com/users/lhaskins/repos","events_url":"https://api.github.com/users/lhaskins/events{/privacy}","received_events_url":"https://api.github.com/users/lhaskins/received_events","type":"User","site_admin":false},"body":"This utilizes the consistent `:errors` change in Cog and ensures that all errors are capable of being retrieved using `format_error`. \r\n\r\nThese changes should also be cherrypicked into the HEAD and other \"stop-gaps\" when updating cogctl to use the CogAPI.\r\n\r\nWe will use this rev in Cogctl until we move to the next changelog updates.","created_at":"2016-03-21T16:51:13Z","updated_at":"2016-03-21T16:51:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/operable/cog-api-client/pulls/31/commits","review_comments_url":"https://api.github.com/repos/operable/cog-api-client/pulls/31/comments","review_comment_url":"https://api.github.com/repos/operable/cog-api-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/operable/cog-api-client/issues/31/comments","statuses_url":"https://api.github.com/repos/operable/cog-api-client/statuses/b4c1e5a862c01e576c32145a1393e312feb8af5f","head":{"label":"operable:lhaskins/update-for-cogctl-use","ref":"lhaskins/update-for-cogctl-use","sha":"b4c1e5a862c01e576c32145a1393e312feb8af5f","user":{"login":"operable","id":6070463,"avatar_url":"https://avatars.githubusercontent.com/u/6070463?v=3","gravatar_id":"","url":"https://api.github.com/users/operable","html_url":"https://github.com/operable","followers_url":"https://api.github.com/users/operable/followers","following_url":"https://api.github.com/users/operable/following{/other_user}","gists_url":"https://api.github.com/users/operable/gists{/gist_id}","starred_url":"https://api.github.com/users/operable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operable/subscriptions","organizations_url":"https://api.github.com/users/operable/orgs","repos_url":"https://api.github.com/users/operable/repos","events_url":"https://api.github.com/users/operable/events{/privacy}","received_events_url":"https://api.github.com/users/operable/received_events","type":"Organization","site_admin":false},"repo":{"id":53512499,"name":"cog-api-client","full_name":"operable/cog-api-client","owner":{"login":"operable","id":6070463,"avatar_url":"https://avatars.githubusercontent.com/u/6070463?v=3","gravatar_id":"","url":"https://api.github.com/users/operable","html_url":"https://github.com/operable","followers_url":"https://api.github.com/users/operable/followers","following_url":"https://api.github.com/users/operable/following{/other_user}","gists_url":"https://api.github.com/users/operable/gists{/gist_id}","starred_url":"https://api.github.com/users/operable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operable/subscriptions","organizations_url":"https://api.github.com/users/operable/orgs","repos_url":"https://api.github.com/users/operable/repos","events_url":"https://api.github.com/users/operable/events{/privacy}","received_events_url":"https://api.github.com/users/operable/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/operable/cog-api-client","description":"","fork":false,"url":"https://api.github.com/repos/operable/cog-api-client","forks_url":"https://api.github.com/repos/operable/cog-api-client/forks","keys_url":"https://api.github.com/repos/operable/cog-api-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/operable/cog-api-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/operable/cog-api-client/teams","hooks_url":"https://api.github.com/repos/operable/cog-api-client/hooks","issue_events_url":"https://api.github.com/repos/operable/cog-api-client/issues/events{/number}","events_url":"https://api.github.com/repos/operable/cog-api-client/events","assignees_url":"https://api.github.com/repos/operable/cog-api-client/assignees{/user}","branches_url":"https://api.github.com/repos/operable/cog-api-client/branches{/branch}","tags_url":"https://api.github.com/repos/operable/cog-api-client/tags","blobs_url":"https://api.github.com/repos/operable/cog-api-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/operable/cog-api-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/operable/cog-api-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/operable/cog-api-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/operable/cog-api-client/statuses/{sha}","languages_url":"https://api.github.com/repos/operable/cog-api-client/languages","stargazers_url":"https://api.github.com/repos/operable/cog-api-client/stargazers","contributors_url":"https://api.github.com/repos/operable/cog-api-client/contributors","subscribers_url":"https://api.github.com/repos/operable/cog-api-client/subscribers","subscription_url":"https://api.github.com/repos/operable/cog-api-client/subscription","commits_url":"https://api.github.com/repos/operable/cog-api-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/operable/cog-api-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/operable/cog-api-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/operable/cog-api-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/operable/cog-api-client/contents/{+path}","compare_url":"https://api.github.com/repos/operable/cog-api-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/operable/cog-api-client/merges","archive_url":"https://api.github.com/repos/operable/cog-api-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/operable/cog-api-client/downloads","issues_url":"https://api.github.com/repos/operable/cog-api-client/issues{/number}","pulls_url":"https://api.github.com/repos/operable/cog-api-client/pulls{/number}","milestones_url":"https://api.github.com/repos/operable/cog-api-client/milestones{/number}","notifications_url":"https://api.github.com/repos/operable/cog-api-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/operable/cog-api-client/labels{/name}","releases_url":"https://api.github.com/repos/operable/cog-api-client/releases{/id}","deployments_url":"https://api.github.com/repos/operable/cog-api-client/deployments","created_at":"2016-03-09T16:19:17Z","updated_at":"2016-03-09T16:21:56Z","pushed_at":"2016-03-21T16:49:39Z","git_url":"git://github.com/operable/cog-api-client.git","ssh_url":"git@github.com:operable/cog-api-client.git","clone_url":"https://github.com/operable/cog-api-client.git","svn_url":"https://github.com/operable/cog-api-client","homepage":null,"size":86,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"operable:master","ref":"master","sha":"ce22f0d41085b76d7603f004c64efb98ed40ac74","user":{"login":"operable","id":6070463,"avatar_url":"https://avatars.githubusercontent.com/u/6070463?v=3","gravatar_id":"","url":"https://api.github.com/users/operable","html_url":"https://github.com/operable","followers_url":"https://api.github.com/users/operable/followers","following_url":"https://api.github.com/users/operable/following{/other_user}","gists_url":"https://api.github.com/users/operable/gists{/gist_id}","starred_url":"https://api.github.com/users/operable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operable/subscriptions","organizations_url":"https://api.github.com/users/operable/orgs","repos_url":"https://api.github.com/users/operable/repos","events_url":"https://api.github.com/users/operable/events{/privacy}","received_events_url":"https://api.github.com/users/operable/received_events","type":"Organization","site_admin":false},"repo":{"id":53512499,"name":"cog-api-client","full_name":"operable/cog-api-client","owner":{"login":"operable","id":6070463,"avatar_url":"https://avatars.githubusercontent.com/u/6070463?v=3","gravatar_id":"","url":"https://api.github.com/users/operable","html_url":"https://github.com/operable","followers_url":"https://api.github.com/users/operable/followers","following_url":"https://api.github.com/users/operable/following{/other_user}","gists_url":"https://api.github.com/users/operable/gists{/gist_id}","starred_url":"https://api.github.com/users/operable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operable/subscriptions","organizations_url":"https://api.github.com/users/operable/orgs","repos_url":"https://api.github.com/users/operable/repos","events_url":"https://api.github.com/users/operable/events{/privacy}","received_events_url":"https://api.github.com/users/operable/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/operable/cog-api-client","description":"","fork":false,"url":"https://api.github.com/repos/operable/cog-api-client","forks_url":"https://api.github.com/repos/operable/cog-api-client/forks","keys_url":"https://api.github.com/repos/operable/cog-api-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/operable/cog-api-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/operable/cog-api-client/teams","hooks_url":"https://api.github.com/repos/operable/cog-api-client/hooks","issue_events_url":"https://api.github.com/repos/operable/cog-api-client/issues/events{/number}","events_url":"https://api.github.com/repos/operable/cog-api-client/events","assignees_url":"https://api.github.com/repos/operable/cog-api-client/assignees{/user}","branches_url":"https://api.github.com/repos/operable/cog-api-client/branches{/branch}","tags_url":"https://api.github.com/repos/operable/cog-api-client/tags","blobs_url":"https://api.github.com/repos/operable/cog-api-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/operable/cog-api-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/operable/cog-api-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/operable/cog-api-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/operable/cog-api-client/statuses/{sha}","languages_url":"https://api.github.com/repos/operable/cog-api-client/languages","stargazers_url":"https://api.github.com/repos/operable/cog-api-client/stargazers","contributors_url":"https://api.github.com/repos/operable/cog-api-client/contributors","subscribers_url":"https://api.github.com/repos/operable/cog-api-client/subscribers","subscription_url":"https://api.github.com/repos/operable/cog-api-client/subscription","commits_url":"https://api.github.com/repos/operable/cog-api-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/operable/cog-api-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/operable/cog-api-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/operable/cog-api-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/operable/cog-api-client/contents/{+path}","compare_url":"https://api.github.com/repos/operable/cog-api-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/operable/cog-api-client/merges","archive_url":"https://api.github.com/repos/operable/cog-api-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/operable/cog-api-client/downloads","issues_url":"https://api.github.com/repos/operable/cog-api-client/issues{/number}","pulls_url":"https://api.github.com/repos/operable/cog-api-client/pulls{/number}","milestones_url":"https://api.github.com/repos/operable/cog-api-client/milestones{/number}","notifications_url":"https://api.github.com/repos/operable/cog-api-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/operable/cog-api-client/labels{/name}","releases_url":"https://api.github.com/repos/operable/cog-api-client/releases{/id}","deployments_url":"https://api.github.com/repos/operable/cog-api-client/deployments","created_at":"2016-03-09T16:19:17Z","updated_at":"2016-03-09T16:21:56Z","pushed_at":"2016-03-21T16:49:39Z","git_url":"git://github.com/operable/cog-api-client.git","ssh_url":"git@github.com:operable/cog-api-client.git","clone_url":"https://github.com/operable/cog-api-client.git","svn_url":"https://github.com/operable/cog-api-client","homepage":null,"size":86,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/operable/cog-api-client/pulls/31"},"html":{"href":"https://github.com/operable/cog-api-client/pull/31"},"issue":{"href":"https://api.github.com/repos/operable/cog-api-client/issues/31"},"comments":{"href":"https://api.github.com/repos/operable/cog-api-client/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/operable/cog-api-client/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/operable/cog-api-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/operable/cog-api-client/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/operable/cog-api-client/statuses/b4c1e5a862c01e576c32145a1393e312feb8af5f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":6,"changed_files":4}}