{"action":"closed","issue":{"url":"https://api.github.com/repos/michael/github/issues/266","repository_url":"https://api.github.com/repos/michael/github","labels_url":"https://api.github.com/repos/michael/github/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/michael/github/issues/266/comments","events_url":"https://api.github.com/repos/michael/github/issues/266/events","html_url":"https://github.com/michael/github/issues/266","id":121918978,"number":266,"title":"Return proper Error in the callbacks","user":{"login":"AurelioDeRosa","id":1430979,"avatar_url":"https://avatars.githubusercontent.com/u/1430979?v=3","gravatar_id":"","url":"https://api.github.com/users/AurelioDeRosa","html_url":"https://github.com/AurelioDeRosa","followers_url":"https://api.github.com/users/AurelioDeRosa/followers","following_url":"https://api.github.com/users/AurelioDeRosa/following{/other_user}","gists_url":"https://api.github.com/users/AurelioDeRosa/gists{/gist_id}","starred_url":"https://api.github.com/users/AurelioDeRosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AurelioDeRosa/subscriptions","organizations_url":"https://api.github.com/users/AurelioDeRosa/orgs","repos_url":"https://api.github.com/users/AurelioDeRosa/repos","events_url":"https://api.github.com/users/AurelioDeRosa/events{/privacy}","received_events_url":"https://api.github.com/users/AurelioDeRosa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/michael/github/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/michael/github/milestones/4","html_url":"https://github.com/michael/github/milestones/0.12.0","labels_url":"https://api.github.com/repos/michael/github/milestones/4/labels","id":1539452,"number":4,"title":"0.12.0","description":"","creator":{"login":"AurelioDeRosa","id":1430979,"avatar_url":"https://avatars.githubusercontent.com/u/1430979?v=3","gravatar_id":"","url":"https://api.github.com/users/AurelioDeRosa","html_url":"https://github.com/AurelioDeRosa","followers_url":"https://api.github.com/users/AurelioDeRosa/followers","following_url":"https://api.github.com/users/AurelioDeRosa/following{/other_user}","gists_url":"https://api.github.com/users/AurelioDeRosa/gists{/gist_id}","starred_url":"https://api.github.com/users/AurelioDeRosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AurelioDeRosa/subscriptions","organizations_url":"https://api.github.com/users/AurelioDeRosa/orgs","repos_url":"https://api.github.com/users/AurelioDeRosa/repos","events_url":"https://api.github.com/users/AurelioDeRosa/events{/privacy}","received_events_url":"https://api.github.com/users/AurelioDeRosa/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":2,"state":"open","created_at":"2016-01-24T17:56:15Z","updated_at":"2016-02-21T00:29:50Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-12-13T13:22:42Z","updated_at":"2016-02-21T00:29:50Z","closed_at":"2016-02-21T00:29:50Z","body":"Up to the latest version we return an object literal with useful information. However, I think we should return a proper `Error` object with the same information we return now and a `message` property."}}