{"action":"opened","number":54,"pull_request":{"url":"https://api.github.com/repos/filipedeschamps/cep-promise/pulls/54","id":89927148,"html_url":"https://github.com/filipedeschamps/cep-promise/pull/54","diff_url":"https://github.com/filipedeschamps/cep-promise/pull/54.diff","patch_url":"https://github.com/filipedeschamps/cep-promise/pull/54.patch","issue_url":"https://api.github.com/repos/filipedeschamps/cep-promise/issues/54","number":54,"state":"open","locked":false,"title":"Fixed error handling so now throw real errors instead of objects","user":{"login":"lucianopf","id":8251208,"avatar_url":"https://avatars.githubusercontent.com/u/8251208?v=3","gravatar_id":"","url":"https://api.github.com/users/lucianopf","html_url":"https://github.com/lucianopf","followers_url":"https://api.github.com/users/lucianopf/followers","following_url":"https://api.github.com/users/lucianopf/following{/other_user}","gists_url":"https://api.github.com/users/lucianopf/gists{/gist_id}","starred_url":"https://api.github.com/users/lucianopf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucianopf/subscriptions","organizations_url":"https://api.github.com/users/lucianopf/orgs","repos_url":"https://api.github.com/users/lucianopf/repos","events_url":"https://api.github.com/users/lucianopf/events{/privacy}","received_events_url":"https://api.github.com/users/lucianopf/received_events","type":"User","site_admin":false},"body":"Ideia de tratamento de erros reais, sem objetos contendo erros.\r\n\r\n- Criado custom error.\r\n- Definido como o error é usado.\r\n- Refatorado os testes.\r\n\r\n\r\nEssa é uma ideia inicial, se pensar em resolver de outra forma não tem problema nenhum! 😁 ","created_at":"2016-10-19T01:23:10Z","updated_at":"2016-10-19T01:23:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/filipedeschamps/cep-promise/pulls/54/commits","review_comments_url":"https://api.github.com/repos/filipedeschamps/cep-promise/pulls/54/comments","review_comment_url":"https://api.github.com/repos/filipedeschamps/cep-promise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/filipedeschamps/cep-promise/issues/54/comments","statuses_url":"https://api.github.com/repos/filipedeschamps/cep-promise/statuses/73ce7846ccc0b296f0aeceeef463716c087e1e9d","head":{"label":"filipedeschamps:fix-error-handling","ref":"fix-error-handling","sha":"73ce7846ccc0b296f0aeceeef463716c087e1e9d","user":{"login":"filipedeschamps","id":4248081,"avatar_url":"https://avatars.githubusercontent.com/u/4248081?v=3","gravatar_id":"","url":"https://api.github.com/users/filipedeschamps","html_url":"https://github.com/filipedeschamps","followers_url":"https://api.github.com/users/filipedeschamps/followers","following_url":"https://api.github.com/users/filipedeschamps/following{/other_user}","gists_url":"https://api.github.com/users/filipedeschamps/gists{/gist_id}","starred_url":"https://api.github.com/users/filipedeschamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipedeschamps/subscriptions","organizations_url":"https://api.github.com/users/filipedeschamps/orgs","repos_url":"https://api.github.com/users/filipedeschamps/repos","events_url":"https://api.github.com/users/filipedeschamps/events{/privacy}","received_events_url":"https://api.github.com/users/filipedeschamps/received_events","type":"User","site_admin":false},"repo":{"id":47116945,"name":"cep-promise","full_name":"filipedeschamps/cep-promise","owner":{"login":"filipedeschamps","id":4248081,"avatar_url":"https://avatars.githubusercontent.com/u/4248081?v=3","gravatar_id":"","url":"https://api.github.com/users/filipedeschamps","html_url":"https://github.com/filipedeschamps","followers_url":"https://api.github.com/users/filipedeschamps/followers","following_url":"https://api.github.com/users/filipedeschamps/following{/other_user}","gists_url":"https://api.github.com/users/filipedeschamps/gists{/gist_id}","starred_url":"https://api.github.com/users/filipedeschamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipedeschamps/subscriptions","organizations_url":"https://api.github.com/users/filipedeschamps/orgs","repos_url":"https://api.github.com/users/filipedeschamps/repos","events_url":"https://api.github.com/users/filipedeschamps/events{/privacy}","received_events_url":"https://api.github.com/users/filipedeschamps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/filipedeschamps/cep-promise","description":"Busca por CEP integrado diretamente aos serviços dos Correios e ViaCEP (Node.js)","fork":false,"url":"https://api.github.com/repos/filipedeschamps/cep-promise","forks_url":"https://api.github.com/repos/filipedeschamps/cep-promise/forks","keys_url":"https://api.github.com/repos/filipedeschamps/cep-promise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/filipedeschamps/cep-promise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/filipedeschamps/cep-promise/teams","hooks_url":"https://api.github.com/repos/filipedeschamps/cep-promise/hooks","issue_events_url":"https://api.github.com/repos/filipedeschamps/cep-promise/issues/events{/number}","events_url":"https://api.github.com/repos/filipedeschamps/cep-promise/events","assignees_url":"https://api.github.com/repos/filipedeschamps/cep-promise/assignees{/user}","branches_url":"https://api.github.com/repos/filipedeschamps/cep-promise/branches{/branch}","tags_url":"https://api.github.com/repos/filipedeschamps/cep-promise/tags","blobs_url":"https://api.github.com/repos/filipedeschamps/cep-promise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/filipedeschamps/cep-promise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/filipedeschamps/cep-promise/git/refs{/sha}","trees_url":"https://api.github.com/repos/filipedeschamps/cep-promise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/filipedeschamps/cep-promise/statuses/{sha}","languages_url":"https://api.github.com/repos/filipedeschamps/cep-promise/languages","stargazers_url":"https://api.github.com/repos/filipedeschamps/cep-promise/stargazers","contributors_url":"https://api.github.com/repos/filipedeschamps/cep-promise/contributors","subscribers_url":"https://api.github.com/repos/filipedeschamps/cep-promise/subscribers","subscription_url":"https://api.github.com/repos/filipedeschamps/cep-promise/subscription","commits_url":"https://api.github.com/repos/filipedeschamps/cep-promise/commits{/sha}","git_commits_url":"https://api.github.com/repos/filipedeschamps/cep-promise/git/commits{/sha}","comments_url":"https://api.github.com/repos/filipedeschamps/cep-promise/comments{/number}","issue_comment_url":"https://api.github.com/repos/filipedeschamps/cep-promise/issues/comments{/number}","contents_url":"https://api.github.com/repos/filipedeschamps/cep-promise/contents/{+path}","compare_url":"https://api.github.com/repos/filipedeschamps/cep-promise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/filipedeschamps/cep-promise/merges","archive_url":"https://api.github.com/repos/filipedeschamps/cep-promise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/filipedeschamps/cep-promise/downloads","issues_url":"https://api.github.com/repos/filipedeschamps/cep-promise/issues{/number}","pulls_url":"https://api.github.com/repos/filipedeschamps/cep-promise/pulls{/number}","milestones_url":"https://api.github.com/repos/filipedeschamps/cep-promise/milestones{/number}","notifications_url":"https://api.github.com/repos/filipedeschamps/cep-promise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/filipedeschamps/cep-promise/labels{/name}","releases_url":"https://api.github.com/repos/filipedeschamps/cep-promise/releases{/id}","deployments_url":"https://api.github.com/repos/filipedeschamps/cep-promise/deployments","created_at":"2015-11-30T12:27:16Z","updated_at":"2016-10-16T01:26:13Z","pushed_at":"2016-10-19T01:20:41Z","git_url":"git://github.com/filipedeschamps/cep-promise.git","ssh_url":"git@github.com:filipedeschamps/cep-promise.git","clone_url":"https://github.com/filipedeschamps/cep-promise.git","svn_url":"https://github.com/filipedeschamps/cep-promise","homepage":"","size":494,"stargazers_count":273,"watchers_count":273,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":4,"forks":30,"open_issues":4,"watchers":273,"default_branch":"master"}},"base":{"label":"filipedeschamps:master","ref":"master","sha":"c7aeb907664c4d2c4c15c727e145d1660792e509","user":{"login":"filipedeschamps","id":4248081,"avatar_url":"https://avatars.githubusercontent.com/u/4248081?v=3","gravatar_id":"","url":"https://api.github.com/users/filipedeschamps","html_url":"https://github.com/filipedeschamps","followers_url":"https://api.github.com/users/filipedeschamps/followers","following_url":"https://api.github.com/users/filipedeschamps/following{/other_user}","gists_url":"https://api.github.com/users/filipedeschamps/gists{/gist_id}","starred_url":"https://api.github.com/users/filipedeschamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipedeschamps/subscriptions","organizations_url":"https://api.github.com/users/filipedeschamps/orgs","repos_url":"https://api.github.com/users/filipedeschamps/repos","events_url":"https://api.github.com/users/filipedeschamps/events{/privacy}","received_events_url":"https://api.github.com/users/filipedeschamps/received_events","type":"User","site_admin":false},"repo":{"id":47116945,"name":"cep-promise","full_name":"filipedeschamps/cep-promise","owner":{"login":"filipedeschamps","id":4248081,"avatar_url":"https://avatars.githubusercontent.com/u/4248081?v=3","gravatar_id":"","url":"https://api.github.com/users/filipedeschamps","html_url":"https://github.com/filipedeschamps","followers_url":"https://api.github.com/users/filipedeschamps/followers","following_url":"https://api.github.com/users/filipedeschamps/following{/other_user}","gists_url":"https://api.github.com/users/filipedeschamps/gists{/gist_id}","starred_url":"https://api.github.com/users/filipedeschamps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipedeschamps/subscriptions","organizations_url":"https://api.github.com/users/filipedeschamps/orgs","repos_url":"https://api.github.com/users/filipedeschamps/repos","events_url":"https://api.github.com/users/filipedeschamps/events{/privacy}","received_events_url":"https://api.github.com/users/filipedeschamps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/filipedeschamps/cep-promise","description":"Busca por CEP integrado diretamente aos serviços dos Correios e ViaCEP (Node.js)","fork":false,"url":"https://api.github.com/repos/filipedeschamps/cep-promise","forks_url":"https://api.github.com/repos/filipedeschamps/cep-promise/forks","keys_url":"https://api.github.com/repos/filipedeschamps/cep-promise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/filipedeschamps/cep-promise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/filipedeschamps/cep-promise/teams","hooks_url":"https://api.github.com/repos/filipedeschamps/cep-promise/hooks","issue_events_url":"https://api.github.com/repos/filipedeschamps/cep-promise/issues/events{/number}","events_url":"https://api.github.com/repos/filipedeschamps/cep-promise/events","assignees_url":"https://api.github.com/repos/filipedeschamps/cep-promise/assignees{/user}","branches_url":"https://api.github.com/repos/filipedeschamps/cep-promise/branches{/branch}","tags_url":"https://api.github.com/repos/filipedeschamps/cep-promise/tags","blobs_url":"https://api.github.com/repos/filipedeschamps/cep-promise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/filipedeschamps/cep-promise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/filipedeschamps/cep-promise/git/refs{/sha}","trees_url":"https://api.github.com/repos/filipedeschamps/cep-promise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/filipedeschamps/cep-promise/statuses/{sha}","languages_url":"https://api.github.com/repos/filipedeschamps/cep-promise/languages","stargazers_url":"https://api.github.com/repos/filipedeschamps/cep-promise/stargazers","contributors_url":"https://api.github.com/repos/filipedeschamps/cep-promise/contributors","subscribers_url":"https://api.github.com/repos/filipedeschamps/cep-promise/subscribers","subscription_url":"https://api.github.com/repos/filipedeschamps/cep-promise/subscription","commits_url":"https://api.github.com/repos/filipedeschamps/cep-promise/commits{/sha}","git_commits_url":"https://api.github.com/repos/filipedeschamps/cep-promise/git/commits{/sha}","comments_url":"https://api.github.com/repos/filipedeschamps/cep-promise/comments{/number}","issue_comment_url":"https://api.github.com/repos/filipedeschamps/cep-promise/issues/comments{/number}","contents_url":"https://api.github.com/repos/filipedeschamps/cep-promise/contents/{+path}","compare_url":"https://api.github.com/repos/filipedeschamps/cep-promise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/filipedeschamps/cep-promise/merges","archive_url":"https://api.github.com/repos/filipedeschamps/cep-promise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/filipedeschamps/cep-promise/downloads","issues_url":"https://api.github.com/repos/filipedeschamps/cep-promise/issues{/number}","pulls_url":"https://api.github.com/repos/filipedeschamps/cep-promise/pulls{/number}","milestones_url":"https://api.github.com/repos/filipedeschamps/cep-promise/milestones{/number}","notifications_url":"https://api.github.com/repos/filipedeschamps/cep-promise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/filipedeschamps/cep-promise/labels{/name}","releases_url":"https://api.github.com/repos/filipedeschamps/cep-promise/releases{/id}","deployments_url":"https://api.github.com/repos/filipedeschamps/cep-promise/deployments","created_at":"2015-11-30T12:27:16Z","updated_at":"2016-10-16T01:26:13Z","pushed_at":"2016-10-19T01:20:41Z","git_url":"git://github.com/filipedeschamps/cep-promise.git","ssh_url":"git@github.com:filipedeschamps/cep-promise.git","clone_url":"https://github.com/filipedeschamps/cep-promise.git","svn_url":"https://github.com/filipedeschamps/cep-promise","homepage":"","size":494,"stargazers_count":273,"watchers_count":273,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":4,"forks":30,"open_issues":4,"watchers":273,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/filipedeschamps/cep-promise/pulls/54"},"html":{"href":"https://github.com/filipedeschamps/cep-promise/pull/54"},"issue":{"href":"https://api.github.com/repos/filipedeschamps/cep-promise/issues/54"},"comments":{"href":"https://api.github.com/repos/filipedeschamps/cep-promise/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/filipedeschamps/cep-promise/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/filipedeschamps/cep-promise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/filipedeschamps/cep-promise/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/filipedeschamps/cep-promise/statuses/73ce7846ccc0b296f0aeceeef463716c087e1e9d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":171,"deletions":110,"changed_files":4}}
{"actor":{"display_login":"lucianopf"}}