{"action":"opened","number":88,"pull_request":{"url":"https://api.github.com/repos/koding/kite/pulls/88","id":27375081,"html_url":"https://github.com/koding/kite/pull/88","diff_url":"https://github.com/koding/kite/pull/88.diff","patch_url":"https://github.com/koding/kite/pull/88.patch","issue_url":"https://api.github.com/repos/koding/kite/issues/88","number":88,"state":"open","locked":false,"title":"Make errors idiomatic","user":{"login":"ernestas-poskus","id":4499780,"avatar_url":"https://avatars.githubusercontent.com/u/4499780?v=3","gravatar_id":"","url":"https://api.github.com/users/ernestas-poskus","html_url":"https://github.com/ernestas-poskus","followers_url":"https://api.github.com/users/ernestas-poskus/followers","following_url":"https://api.github.com/users/ernestas-poskus/following{/other_user}","gists_url":"https://api.github.com/users/ernestas-poskus/gists{/gist_id}","starred_url":"https://api.github.com/users/ernestas-poskus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernestas-poskus/subscriptions","organizations_url":"https://api.github.com/users/ernestas-poskus/orgs","repos_url":"https://api.github.com/users/ernestas-poskus/repos","events_url":"https://api.github.com/users/ernestas-poskus/events{/privacy}","received_events_url":"https://api.github.com/users/ernestas-poskus/received_events","type":"User","site_admin":false},"body":"Extracting errors to ```var``` constants to make them more usable and idiomatic ","created_at":"2015-01-14T19:16:25Z","updated_at":"2015-01-14T19:16:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/koding/kite/pulls/88/commits","review_comments_url":"https://api.github.com/repos/koding/kite/pulls/88/comments","review_comment_url":"https://api.github.com/repos/koding/kite/pulls/comments/{number}","comments_url":"https://api.github.com/repos/koding/kite/issues/88/comments","statuses_url":"https://api.github.com/repos/koding/kite/statuses/497eb15ace698522e96fb81a7181274816d187d7","head":{"label":"ernestas-poskus:make-errors-idiomatic","ref":"make-errors-idiomatic","sha":"497eb15ace698522e96fb81a7181274816d187d7","user":{"login":"ernestas-poskus","id":4499780,"avatar_url":"https://avatars.githubusercontent.com/u/4499780?v=3","gravatar_id":"","url":"https://api.github.com/users/ernestas-poskus","html_url":"https://github.com/ernestas-poskus","followers_url":"https://api.github.com/users/ernestas-poskus/followers","following_url":"https://api.github.com/users/ernestas-poskus/following{/other_user}","gists_url":"https://api.github.com/users/ernestas-poskus/gists{/gist_id}","starred_url":"https://api.github.com/users/ernestas-poskus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernestas-poskus/subscriptions","organizations_url":"https://api.github.com/users/ernestas-poskus/orgs","repos_url":"https://api.github.com/users/ernestas-poskus/repos","events_url":"https://api.github.com/users/ernestas-poskus/events{/privacy}","received_events_url":"https://api.github.com/users/ernestas-poskus/received_events","type":"User","site_admin":false},"repo":{"id":29257300,"name":"kite","full_name":"ernestas-poskus/kite","owner":{"login":"ernestas-poskus","id":4499780,"avatar_url":"https://avatars.githubusercontent.com/u/4499780?v=3","gravatar_id":"","url":"https://api.github.com/users/ernestas-poskus","html_url":"https://github.com/ernestas-poskus","followers_url":"https://api.github.com/users/ernestas-poskus/followers","following_url":"https://api.github.com/users/ernestas-poskus/following{/other_user}","gists_url":"https://api.github.com/users/ernestas-poskus/gists{/gist_id}","starred_url":"https://api.github.com/users/ernestas-poskus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernestas-poskus/subscriptions","organizations_url":"https://api.github.com/users/ernestas-poskus/orgs","repos_url":"https://api.github.com/users/ernestas-poskus/repos","events_url":"https://api.github.com/users/ernestas-poskus/events{/privacy}","received_events_url":"https://api.github.com/users/ernestas-poskus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ernestas-poskus/kite","description":"Micro-service framework in Go","fork":true,"url":"https://api.github.com/repos/ernestas-poskus/kite","forks_url":"https://api.github.com/repos/ernestas-poskus/kite/forks","keys_url":"https://api.github.com/repos/ernestas-poskus/kite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ernestas-poskus/kite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ernestas-poskus/kite/teams","hooks_url":"https://api.github.com/repos/ernestas-poskus/kite/hooks","issue_events_url":"https://api.github.com/repos/ernestas-poskus/kite/issues/events{/number}","events_url":"https://api.github.com/repos/ernestas-poskus/kite/events","assignees_url":"https://api.github.com/repos/ernestas-poskus/kite/assignees{/user}","branches_url":"https://api.github.com/repos/ernestas-poskus/kite/branches{/branch}","tags_url":"https://api.github.com/repos/ernestas-poskus/kite/tags","blobs_url":"https://api.github.com/repos/ernestas-poskus/kite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ernestas-poskus/kite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ernestas-poskus/kite/git/refs{/sha}","trees_url":"https://api.github.com/repos/ernestas-poskus/kite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ernestas-poskus/kite/statuses/{sha}","languages_url":"https://api.github.com/repos/ernestas-poskus/kite/languages","stargazers_url":"https://api.github.com/repos/ernestas-poskus/kite/stargazers","contributors_url":"https://api.github.com/repos/ernestas-poskus/kite/contributors","subscribers_url":"https://api.github.com/repos/ernestas-poskus/kite/subscribers","subscription_url":"https://api.github.com/repos/ernestas-poskus/kite/subscription","commits_url":"https://api.github.com/repos/ernestas-poskus/kite/commits{/sha}","git_commits_url":"https://api.github.com/repos/ernestas-poskus/kite/git/commits{/sha}","comments_url":"https://api.github.com/repos/ernestas-poskus/kite/comments{/number}","issue_comment_url":"https://api.github.com/repos/ernestas-poskus/kite/issues/comments/{number}","contents_url":"https://api.github.com/repos/ernestas-poskus/kite/contents/{+path}","compare_url":"https://api.github.com/repos/ernestas-poskus/kite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ernestas-poskus/kite/merges","archive_url":"https://api.github.com/repos/ernestas-poskus/kite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ernestas-poskus/kite/downloads","issues_url":"https://api.github.com/repos/ernestas-poskus/kite/issues{/number}","pulls_url":"https://api.github.com/repos/ernestas-poskus/kite/pulls{/number}","milestones_url":"https://api.github.com/repos/ernestas-poskus/kite/milestones{/number}","notifications_url":"https://api.github.com/repos/ernestas-poskus/kite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ernestas-poskus/kite/labels{/name}","releases_url":"https://api.github.com/repos/ernestas-poskus/kite/releases{/id}","created_at":"2015-01-14T17:50:10Z","updated_at":"2015-01-14T17:50:10Z","pushed_at":"2015-01-14T19:15:19Z","git_url":"git://github.com/ernestas-poskus/kite.git","ssh_url":"git@github.com:ernestas-poskus/kite.git","clone_url":"https://github.com/ernestas-poskus/kite.git","svn_url":"https://github.com/ernestas-poskus/kite","homepage":"https://godoc.org/github.com/koding/kite","size":5730,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"koding:master","ref":"master","sha":"7c6dff7e4a85a67cee79ffbc88230dc849233e41","user":{"login":"koding","id":1066754,"avatar_url":"https://avatars.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"repo":{"id":17035868,"name":"kite","full_name":"koding/kite","owner":{"login":"koding","id":1066754,"avatar_url":"https://avatars.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/koding/kite","description":"Micro-service framework in Go","fork":false,"url":"https://api.github.com/repos/koding/kite","forks_url":"https://api.github.com/repos/koding/kite/forks","keys_url":"https://api.github.com/repos/koding/kite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koding/kite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koding/kite/teams","hooks_url":"https://api.github.com/repos/koding/kite/hooks","issue_events_url":"https://api.github.com/repos/koding/kite/issues/events{/number}","events_url":"https://api.github.com/repos/koding/kite/events","assignees_url":"https://api.github.com/repos/koding/kite/assignees{/user}","branches_url":"https://api.github.com/repos/koding/kite/branches{/branch}","tags_url":"https://api.github.com/repos/koding/kite/tags","blobs_url":"https://api.github.com/repos/koding/kite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koding/kite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koding/kite/git/refs{/sha}","trees_url":"https://api.github.com/repos/koding/kite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koding/kite/statuses/{sha}","languages_url":"https://api.github.com/repos/koding/kite/languages","stargazers_url":"https://api.github.com/repos/koding/kite/stargazers","contributors_url":"https://api.github.com/repos/koding/kite/contributors","subscribers_url":"https://api.github.com/repos/koding/kite/subscribers","subscription_url":"https://api.github.com/repos/koding/kite/subscription","commits_url":"https://api.github.com/repos/koding/kite/commits{/sha}","git_commits_url":"https://api.github.com/repos/koding/kite/git/commits{/sha}","comments_url":"https://api.github.com/repos/koding/kite/comments{/number}","issue_comment_url":"https://api.github.com/repos/koding/kite/issues/comments/{number}","contents_url":"https://api.github.com/repos/koding/kite/contents/{+path}","compare_url":"https://api.github.com/repos/koding/kite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koding/kite/merges","archive_url":"https://api.github.com/repos/koding/kite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koding/kite/downloads","issues_url":"https://api.github.com/repos/koding/kite/issues{/number}","pulls_url":"https://api.github.com/repos/koding/kite/pulls{/number}","milestones_url":"https://api.github.com/repos/koding/kite/milestones{/number}","notifications_url":"https://api.github.com/repos/koding/kite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koding/kite/labels{/name}","releases_url":"https://api.github.com/repos/koding/kite/releases{/id}","created_at":"2014-02-20T21:14:43Z","updated_at":"2015-01-14T16:18:42Z","pushed_at":"2015-01-06T22:46:44Z","git_url":"git://github.com/koding/kite.git","ssh_url":"git@github.com:koding/kite.git","clone_url":"https://github.com/koding/kite.git","svn_url":"https://github.com/koding/kite","homepage":"https://godoc.org/github.com/koding/kite","size":5730,"stargazers_count":436,"watchers_count":436,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":12,"forks":13,"open_issues":12,"watchers":436,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/koding/kite/pulls/88"},"html":{"href":"https://github.com/koding/kite/pull/88"},"issue":{"href":"https://api.github.com/repos/koding/kite/issues/88"},"comments":{"href":"https://api.github.com/repos/koding/kite/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/koding/kite/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/koding/kite/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/koding/kite/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/koding/kite/statuses/497eb15ace698522e96fb81a7181274816d187d7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":139,"deletions":61,"changed_files":20}}