{"action":"created","comment":{"url":"https://api.github.com/repos/odwrtw/polochon/pulls/comments/44697666","id":44697666,"diff_hunk":"@@ -0,0 +1,159 @@\n+// Package errors provides errors that have stack-traces.","path":"errors/error.go","position":1,"original_position":1,"commit_id":"03720b3980e2f7a89fca056d4a94e3a6a41c0f9e","original_commit_id":"03720b3980e2f7a89fca056d4a94e3a6a41c0f9e","user":{"login":"nduhamel","id":278487,"avatar_url":"https://avatars.githubusercontent.com/u/278487?v=3","gravatar_id":"","url":"https://api.github.com/users/nduhamel","html_url":"https://github.com/nduhamel","followers_url":"https://api.github.com/users/nduhamel/followers","following_url":"https://api.github.com/users/nduhamel/following{/other_user}","gists_url":"https://api.github.com/users/nduhamel/gists{/gist_id}","starred_url":"https://api.github.com/users/nduhamel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nduhamel/subscriptions","organizations_url":"https://api.github.com/users/nduhamel/orgs","repos_url":"https://api.github.com/users/nduhamel/repos","events_url":"https://api.github.com/users/nduhamel/events{/privacy}","received_events_url":"https://api.github.com/users/nduhamel/received_events","type":"User","site_admin":false},"body":"I totaly agree with you, i did that because I want to add a Context object to the Error one for adding contextual information usefull for debuging but without inheritance in golang and by the design of this lib i need to rewrite something like half of the library if i embeded the error object in my error object. That's why i did that","created_at":"2015-11-12T18:51:35Z","updated_at":"2015-11-12T18:51:35Z","html_url":"https://github.com/odwrtw/polochon/pull/54#discussion_r44697666","pull_request_url":"https://api.github.com/repos/odwrtw/polochon/pulls/54","_links":{"self":{"href":"https://api.github.com/repos/odwrtw/polochon/pulls/comments/44697666"},"html":{"href":"https://github.com/odwrtw/polochon/pull/54#discussion_r44697666"},"pull_request":{"href":"https://api.github.com/repos/odwrtw/polochon/pulls/54"}}},"pull_request":{"url":"https://api.github.com/repos/odwrtw/polochon/pulls/54","id":50505376,"html_url":"https://github.com/odwrtw/polochon/pull/54","diff_url":"https://github.com/odwrtw/polochon/pull/54.diff","patch_url":"https://github.com/odwrtw/polochon/pull/54.patch","issue_url":"https://api.github.com/repos/odwrtw/polochon/issues/54","number":54,"state":"open","locked":false,"title":"[WIP] Error","user":{"login":"gregdel","id":1162110,"avatar_url":"https://avatars.githubusercontent.com/u/1162110?v=3","gravatar_id":"","url":"https://api.github.com/users/gregdel","html_url":"https://github.com/gregdel","followers_url":"https://api.github.com/users/gregdel/followers","following_url":"https://api.github.com/users/gregdel/following{/other_user}","gists_url":"https://api.github.com/users/gregdel/gists{/gist_id}","starred_url":"https://api.github.com/users/gregdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregdel/subscriptions","organizations_url":"https://api.github.com/users/gregdel/orgs","repos_url":"https://api.github.com/users/gregdel/repos","events_url":"https://api.github.com/users/gregdel/events{/privacy}","received_events_url":"https://api.github.com/users/gregdel/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-12T12:32:59Z","updated_at":"2015-11-12T18:51:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fc883158c22ca19487a2c8b6346c7b51836f3e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/odwrtw/polochon/pulls/54/commits","review_comments_url":"https://api.github.com/repos/odwrtw/polochon/pulls/54/comments","review_comment_url":"https://api.github.com/repos/odwrtw/polochon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odwrtw/polochon/issues/54/comments","statuses_url":"https://api.github.com/repos/odwrtw/polochon/statuses/03720b3980e2f7a89fca056d4a94e3a6a41c0f9e","head":{"label":"odwrtw:error","ref":"error","sha":"03720b3980e2f7a89fca056d4a94e3a6a41c0f9e","user":{"login":"odwrtw","id":12220159,"avatar_url":"https://avatars.githubusercontent.com/u/12220159?v=3","gravatar_id":"","url":"https://api.github.com/users/odwrtw","html_url":"https://github.com/odwrtw","followers_url":"https://api.github.com/users/odwrtw/followers","following_url":"https://api.github.com/users/odwrtw/following{/other_user}","gists_url":"https://api.github.com/users/odwrtw/gists{/gist_id}","starred_url":"https://api.github.com/users/odwrtw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odwrtw/subscriptions","organizations_url":"https://api.github.com/users/odwrtw/orgs","repos_url":"https://api.github.com/users/odwrtw/repos","events_url":"https://api.github.com/users/odwrtw/events{/privacy}","received_events_url":"https://api.github.com/users/odwrtw/received_events","type":"Organization","site_admin":false},"repo":{"id":39296192,"name":"polochon","full_name":"odwrtw/polochon","owner":{"login":"odwrtw","id":12220159,"avatar_url":"https://avatars.githubusercontent.com/u/12220159?v=3","gravatar_id":"","url":"https://api.github.com/users/odwrtw","html_url":"https://github.com/odwrtw","followers_url":"https://api.github.com/users/odwrtw/followers","following_url":"https://api.github.com/users/odwrtw/following{/other_user}","gists_url":"https://api.github.com/users/odwrtw/gists{/gist_id}","starred_url":"https://api.github.com/users/odwrtw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odwrtw/subscriptions","organizations_url":"https://api.github.com/users/odwrtw/orgs","repos_url":"https://api.github.com/users/odwrtw/repos","events_url":"https://api.github.com/users/odwrtw/events{/privacy}","received_events_url":"https://api.github.com/users/odwrtw/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odwrtw/polochon","description":"Organizes your movies and shows with Kodi metadata","fork":false,"url":"https://api.github.com/repos/odwrtw/polochon","forks_url":"https://api.github.com/repos/odwrtw/polochon/forks","keys_url":"https://api.github.com/repos/odwrtw/polochon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odwrtw/polochon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odwrtw/polochon/teams","hooks_url":"https://api.github.com/repos/odwrtw/polochon/hooks","issue_events_url":"https://api.github.com/repos/odwrtw/polochon/issues/events{/number}","events_url":"https://api.github.com/repos/odwrtw/polochon/events","assignees_url":"https://api.github.com/repos/odwrtw/polochon/assignees{/user}","branches_url":"https://api.github.com/repos/odwrtw/polochon/branches{/branch}","tags_url":"https://api.github.com/repos/odwrtw/polochon/tags","blobs_url":"https://api.github.com/repos/odwrtw/polochon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odwrtw/polochon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odwrtw/polochon/git/refs{/sha}","trees_url":"https://api.github.com/repos/odwrtw/polochon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odwrtw/polochon/statuses/{sha}","languages_url":"https://api.github.com/repos/odwrtw/polochon/languages","stargazers_url":"https://api.github.com/repos/odwrtw/polochon/stargazers","contributors_url":"https://api.github.com/repos/odwrtw/polochon/contributors","subscribers_url":"https://api.github.com/repos/odwrtw/polochon/subscribers","subscription_url":"https://api.github.com/repos/odwrtw/polochon/subscription","commits_url":"https://api.github.com/repos/odwrtw/polochon/commits{/sha}","git_commits_url":"https://api.github.com/repos/odwrtw/polochon/git/commits{/sha}","comments_url":"https://api.github.com/repos/odwrtw/polochon/comments{/number}","issue_comment_url":"https://api.github.com/repos/odwrtw/polochon/issues/comments{/number}","contents_url":"https://api.github.com/repos/odwrtw/polochon/contents/{+path}","compare_url":"https://api.github.com/repos/odwrtw/polochon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odwrtw/polochon/merges","archive_url":"https://api.github.com/repos/odwrtw/polochon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odwrtw/polochon/downloads","issues_url":"https://api.github.com/repos/odwrtw/polochon/issues{/number}","pulls_url":"https://api.github.com/repos/odwrtw/polochon/pulls{/number}","milestones_url":"https://api.github.com/repos/odwrtw/polochon/milestones{/number}","notifications_url":"https://api.github.com/repos/odwrtw/polochon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odwrtw/polochon/labels{/name}","releases_url":"https://api.github.com/repos/odwrtw/polochon/releases{/id}","created_at":"2015-07-18T11:30:08Z","updated_at":"2015-09-10T21:02:30Z","pushed_at":"2015-11-12T12:36:38Z","git_url":"git://github.com/odwrtw/polochon.git","ssh_url":"git@github.com:odwrtw/polochon.git","clone_url":"https://github.com/odwrtw/polochon.git","svn_url":"https://github.com/odwrtw/polochon","homepage":null,"size":793,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":5,"default_branch":"master"}},"base":{"label":"odwrtw:master","ref":"master","sha":"ed8f8f947bce1b46fc00274db0c02513d3ee8a47","user":{"login":"odwrtw","id":12220159,"avatar_url":"https://avatars.githubusercontent.com/u/12220159?v=3","gravatar_id":"","url":"https://api.github.com/users/odwrtw","html_url":"https://github.com/odwrtw","followers_url":"https://api.github.com/users/odwrtw/followers","following_url":"https://api.github.com/users/odwrtw/following{/other_user}","gists_url":"https://api.github.com/users/odwrtw/gists{/gist_id}","starred_url":"https://api.github.com/users/odwrtw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odwrtw/subscriptions","organizations_url":"https://api.github.com/users/odwrtw/orgs","repos_url":"https://api.github.com/users/odwrtw/repos","events_url":"https://api.github.com/users/odwrtw/events{/privacy}","received_events_url":"https://api.github.com/users/odwrtw/received_events","type":"Organization","site_admin":false},"repo":{"id":39296192,"name":"polochon","full_name":"odwrtw/polochon","owner":{"login":"odwrtw","id":12220159,"avatar_url":"https://avatars.githubusercontent.com/u/12220159?v=3","gravatar_id":"","url":"https://api.github.com/users/odwrtw","html_url":"https://github.com/odwrtw","followers_url":"https://api.github.com/users/odwrtw/followers","following_url":"https://api.github.com/users/odwrtw/following{/other_user}","gists_url":"https://api.github.com/users/odwrtw/gists{/gist_id}","starred_url":"https://api.github.com/users/odwrtw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odwrtw/subscriptions","organizations_url":"https://api.github.com/users/odwrtw/orgs","repos_url":"https://api.github.com/users/odwrtw/repos","events_url":"https://api.github.com/users/odwrtw/events{/privacy}","received_events_url":"https://api.github.com/users/odwrtw/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odwrtw/polochon","description":"Organizes your movies and shows with Kodi metadata","fork":false,"url":"https://api.github.com/repos/odwrtw/polochon","forks_url":"https://api.github.com/repos/odwrtw/polochon/forks","keys_url":"https://api.github.com/repos/odwrtw/polochon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odwrtw/polochon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odwrtw/polochon/teams","hooks_url":"https://api.github.com/repos/odwrtw/polochon/hooks","issue_events_url":"https://api.github.com/repos/odwrtw/polochon/issues/events{/number}","events_url":"https://api.github.com/repos/odwrtw/polochon/events","assignees_url":"https://api.github.com/repos/odwrtw/polochon/assignees{/user}","branches_url":"https://api.github.com/repos/odwrtw/polochon/branches{/branch}","tags_url":"https://api.github.com/repos/odwrtw/polochon/tags","blobs_url":"https://api.github.com/repos/odwrtw/polochon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odwrtw/polochon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odwrtw/polochon/git/refs{/sha}","trees_url":"https://api.github.com/repos/odwrtw/polochon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odwrtw/polochon/statuses/{sha}","languages_url":"https://api.github.com/repos/odwrtw/polochon/languages","stargazers_url":"https://api.github.com/repos/odwrtw/polochon/stargazers","contributors_url":"https://api.github.com/repos/odwrtw/polochon/contributors","subscribers_url":"https://api.github.com/repos/odwrtw/polochon/subscribers","subscription_url":"https://api.github.com/repos/odwrtw/polochon/subscription","commits_url":"https://api.github.com/repos/odwrtw/polochon/commits{/sha}","git_commits_url":"https://api.github.com/repos/odwrtw/polochon/git/commits{/sha}","comments_url":"https://api.github.com/repos/odwrtw/polochon/comments{/number}","issue_comment_url":"https://api.github.com/repos/odwrtw/polochon/issues/comments{/number}","contents_url":"https://api.github.com/repos/odwrtw/polochon/contents/{+path}","compare_url":"https://api.github.com/repos/odwrtw/polochon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odwrtw/polochon/merges","archive_url":"https://api.github.com/repos/odwrtw/polochon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odwrtw/polochon/downloads","issues_url":"https://api.github.com/repos/odwrtw/polochon/issues{/number}","pulls_url":"https://api.github.com/repos/odwrtw/polochon/pulls{/number}","milestones_url":"https://api.github.com/repos/odwrtw/polochon/milestones{/number}","notifications_url":"https://api.github.com/repos/odwrtw/polochon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odwrtw/polochon/labels{/name}","releases_url":"https://api.github.com/repos/odwrtw/polochon/releases{/id}","created_at":"2015-07-18T11:30:08Z","updated_at":"2015-09-10T21:02:30Z","pushed_at":"2015-11-12T12:36:38Z","git_url":"git://github.com/odwrtw/polochon.git","ssh_url":"git@github.com:odwrtw/polochon.git","clone_url":"https://github.com/odwrtw/polochon.git","svn_url":"https://github.com/odwrtw/polochon","homepage":null,"size":793,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/odwrtw/polochon/pulls/54"},"html":{"href":"https://github.com/odwrtw/polochon/pull/54"},"issue":{"href":"https://api.github.com/repos/odwrtw/polochon/issues/54"},"comments":{"href":"https://api.github.com/repos/odwrtw/polochon/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/odwrtw/polochon/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/odwrtw/polochon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odwrtw/polochon/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/odwrtw/polochon/statuses/03720b3980e2f7a89fca056d4a94e3a6a41c0f9e"}}}}