{"action":"created","comment":{"url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/comments/231386571","pull_request_review_id":172347143,"id":231386571,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMTM4NjU3MQ==","diff_hunk":"@@ -1,15 +1,28 @@\n-class DetailsError extends Error {\n+export default class DetailsError extends Error {\n+\n+  /**\n+   * HTTP response status code by the server to the client\n+   */\n   statusCode: number;\n+\n+  /**\n+   * Description to show in the client\n+   */\n   description: string;\n-  details: string;\n \n-  constructor(message: string, status: number, description: string, details: string) {\n-    super(message);\n+  /**\n+   * Details about the info that can help to fix\n+   */\n+  details: string;\n \n-    this.statusCode = status;\n+  constructor(name: string, message: string, code: number, description: string, details: string) {\n+    super();","path":"src/server/DetailsError.ts","position":24,"original_position":24,"commit_id":"4d44b0d9cbc4652a82492f23c5a6717aabe773b7","original_commit_id":"4d44b0d9cbc4652a82492f23c5a6717aabe773b7","user":{"login":"xlarsx","id":239763,"node_id":"MDQ6VXNlcjIzOTc2Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/239763?v=4","gravatar_id":"","url":"https://api.github.com/users/xlarsx","html_url":"https://github.com/xlarsx","followers_url":"https://api.github.com/users/xlarsx/followers","following_url":"https://api.github.com/users/xlarsx/following{/other_user}","gists_url":"https://api.github.com/users/xlarsx/gists{/gist_id}","starred_url":"https://api.github.com/users/xlarsx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlarsx/subscriptions","organizations_url":"https://api.github.com/users/xlarsx/orgs","repos_url":"https://api.github.com/users/xlarsx/repos","events_url":"https://api.github.com/users/xlarsx/events{/privacy}","received_events_url":"https://api.github.com/users/xlarsx/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n    super(message);\r\n```","created_at":"2018-11-07T05:47:15Z","updated_at":"2018-11-07T05:53:32Z","html_url":"https://github.com/EstefaniaGuardado/myRefri/pull/56#discussion_r231386571","pull_request_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/56","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/comments/231386571"},"html":{"href":"https://github.com/EstefaniaGuardado/myRefri/pull/56#discussion_r231386571"},"pull_request":{"href":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/56","id":227377674,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3Mzc3Njc0","html_url":"https://github.com/EstefaniaGuardado/myRefri/pull/56","diff_url":"https://github.com/EstefaniaGuardado/myRefri/pull/56.diff","patch_url":"https://github.com/EstefaniaGuardado/myRefri/pull/56.patch","issue_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/issues/56","number":56,"state":"open","locked":false,"title":"Task/#39 implement database","user":{"login":"EstefaniaGuardado","id":7373862,"node_id":"MDQ6VXNlcjczNzM4NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/7373862?v=4","gravatar_id":"","url":"https://api.github.com/users/EstefaniaGuardado","html_url":"https://github.com/EstefaniaGuardado","followers_url":"https://api.github.com/users/EstefaniaGuardado/followers","following_url":"https://api.github.com/users/EstefaniaGuardado/following{/other_user}","gists_url":"https://api.github.com/users/EstefaniaGuardado/gists{/gist_id}","starred_url":"https://api.github.com/users/EstefaniaGuardado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EstefaniaGuardado/subscriptions","organizations_url":"https://api.github.com/users/EstefaniaGuardado/orgs","repos_url":"https://api.github.com/users/EstefaniaGuardado/repos","events_url":"https://api.github.com/users/EstefaniaGuardado/events{/privacy}","received_events_url":"https://api.github.com/users/EstefaniaGuardado/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-31T17:29:34Z","updated_at":"2018-11-07T05:53:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1d4faa8e7ff7ea3dda09c1704ccb80b7314d227","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/56/commits","review_comments_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/56/comments","review_comment_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/issues/56/comments","statuses_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/statuses/4d44b0d9cbc4652a82492f23c5a6717aabe773b7","head":{"label":"EstefaniaGuardado:task/#39_implementDatabase","ref":"task/#39_implementDatabase","sha":"4d44b0d9cbc4652a82492f23c5a6717aabe773b7","user":{"login":"EstefaniaGuardado","id":7373862,"node_id":"MDQ6VXNlcjczNzM4NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/7373862?v=4","gravatar_id":"","url":"https://api.github.com/users/EstefaniaGuardado","html_url":"https://github.com/EstefaniaGuardado","followers_url":"https://api.github.com/users/EstefaniaGuardado/followers","following_url":"https://api.github.com/users/EstefaniaGuardado/following{/other_user}","gists_url":"https://api.github.com/users/EstefaniaGuardado/gists{/gist_id}","starred_url":"https://api.github.com/users/EstefaniaGuardado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EstefaniaGuardado/subscriptions","organizations_url":"https://api.github.com/users/EstefaniaGuardado/orgs","repos_url":"https://api.github.com/users/EstefaniaGuardado/repos","events_url":"https://api.github.com/users/EstefaniaGuardado/events{/privacy}","received_events_url":"https://api.github.com/users/EstefaniaGuardado/received_events","type":"User","site_admin":false},"repo":{"id":135425693,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0MjU2OTM=","name":"myRefri","full_name":"EstefaniaGuardado/myRefri","private":false,"owner":{"login":"EstefaniaGuardado","id":7373862,"node_id":"MDQ6VXNlcjczNzM4NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/7373862?v=4","gravatar_id":"","url":"https://api.github.com/users/EstefaniaGuardado","html_url":"https://github.com/EstefaniaGuardado","followers_url":"https://api.github.com/users/EstefaniaGuardado/followers","following_url":"https://api.github.com/users/EstefaniaGuardado/following{/other_user}","gists_url":"https://api.github.com/users/EstefaniaGuardado/gists{/gist_id}","starred_url":"https://api.github.com/users/EstefaniaGuardado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EstefaniaGuardado/subscriptions","organizations_url":"https://api.github.com/users/EstefaniaGuardado/orgs","repos_url":"https://api.github.com/users/EstefaniaGuardado/repos","events_url":"https://api.github.com/users/EstefaniaGuardado/events{/privacy}","received_events_url":"https://api.github.com/users/EstefaniaGuardado/received_events","type":"User","site_admin":false},"html_url":"https://github.com/EstefaniaGuardado/myRefri","description":null,"fork":false,"url":"https://api.github.com/repos/EstefaniaGuardado/myRefri","forks_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/forks","keys_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/teams","hooks_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/hooks","issue_events_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/issues/events{/number}","events_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/events","assignees_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/assignees{/user}","branches_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/branches{/branch}","tags_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/tags","blobs_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/git/refs{/sha}","trees_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/statuses/{sha}","languages_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/languages","stargazers_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/stargazers","contributors_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/contributors","subscribers_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/subscribers","subscription_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/subscription","commits_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/commits{/sha}","git_commits_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/git/commits{/sha}","comments_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/comments{/number}","issue_comment_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/issues/comments{/number}","contents_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/contents/{+path}","compare_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/merges","archive_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/downloads","issues_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/issues{/number}","pulls_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls{/number}","milestones_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/milestones{/number}","notifications_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/labels{/name}","releases_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/releases{/id}","deployments_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/deployments","created_at":"2018-05-30T10:15:41Z","updated_at":"2018-10-14T12:44:36Z","pushed_at":"2018-11-01T10:45:25Z","git_url":"git://github.com/EstefaniaGuardado/myRefri.git","ssh_url":"git@github.com:EstefaniaGuardado/myRefri.git","clone_url":"https://github.com/EstefaniaGuardado/myRefri.git","svn_url":"https://github.com/EstefaniaGuardado/myRefri","homepage":"https://afternoon-depths-71069.herokuapp.com/","size":3702,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"EstefaniaGuardado:develop","ref":"develop","sha":"8ba9713b0a8b5e7dbc17124daf455df2cfda7a63","user":{"login":"EstefaniaGuardado","id":7373862,"node_id":"MDQ6VXNlcjczNzM4NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/7373862?v=4","gravatar_id":"","url":"https://api.github.com/users/EstefaniaGuardado","html_url":"https://github.com/EstefaniaGuardado","followers_url":"https://api.github.com/users/EstefaniaGuardado/followers","following_url":"https://api.github.com/users/EstefaniaGuardado/following{/other_user}","gists_url":"https://api.github.com/users/EstefaniaGuardado/gists{/gist_id}","starred_url":"https://api.github.com/users/EstefaniaGuardado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EstefaniaGuardado/subscriptions","organizations_url":"https://api.github.com/users/EstefaniaGuardado/orgs","repos_url":"https://api.github.com/users/EstefaniaGuardado/repos","events_url":"https://api.github.com/users/EstefaniaGuardado/events{/privacy}","received_events_url":"https://api.github.com/users/EstefaniaGuardado/received_events","type":"User","site_admin":false},"repo":{"id":135425693,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0MjU2OTM=","name":"myRefri","full_name":"EstefaniaGuardado/myRefri","private":false,"owner":{"login":"EstefaniaGuardado","id":7373862,"node_id":"MDQ6VXNlcjczNzM4NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/7373862?v=4","gravatar_id":"","url":"https://api.github.com/users/EstefaniaGuardado","html_url":"https://github.com/EstefaniaGuardado","followers_url":"https://api.github.com/users/EstefaniaGuardado/followers","following_url":"https://api.github.com/users/EstefaniaGuardado/following{/other_user}","gists_url":"https://api.github.com/users/EstefaniaGuardado/gists{/gist_id}","starred_url":"https://api.github.com/users/EstefaniaGuardado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EstefaniaGuardado/subscriptions","organizations_url":"https://api.github.com/users/EstefaniaGuardado/orgs","repos_url":"https://api.github.com/users/EstefaniaGuardado/repos","events_url":"https://api.github.com/users/EstefaniaGuardado/events{/privacy}","received_events_url":"https://api.github.com/users/EstefaniaGuardado/received_events","type":"User","site_admin":false},"html_url":"https://github.com/EstefaniaGuardado/myRefri","description":null,"fork":false,"url":"https://api.github.com/repos/EstefaniaGuardado/myRefri","forks_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/forks","keys_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/teams","hooks_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/hooks","issue_events_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/issues/events{/number}","events_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/events","assignees_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/assignees{/user}","branches_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/branches{/branch}","tags_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/tags","blobs_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/git/refs{/sha}","trees_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/statuses/{sha}","languages_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/languages","stargazers_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/stargazers","contributors_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/contributors","subscribers_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/subscribers","subscription_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/subscription","commits_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/commits{/sha}","git_commits_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/git/commits{/sha}","comments_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/comments{/number}","issue_comment_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/issues/comments{/number}","contents_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/contents/{+path}","compare_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/merges","archive_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/downloads","issues_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/issues{/number}","pulls_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls{/number}","milestones_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/milestones{/number}","notifications_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/labels{/name}","releases_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/releases{/id}","deployments_url":"https://api.github.com/repos/EstefaniaGuardado/myRefri/deployments","created_at":"2018-05-30T10:15:41Z","updated_at":"2018-10-14T12:44:36Z","pushed_at":"2018-11-01T10:45:25Z","git_url":"git://github.com/EstefaniaGuardado/myRefri.git","ssh_url":"git@github.com:EstefaniaGuardado/myRefri.git","clone_url":"https://github.com/EstefaniaGuardado/myRefri.git","svn_url":"https://github.com/EstefaniaGuardado/myRefri","homepage":"https://afternoon-depths-71069.herokuapp.com/","size":3702,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/56"},"html":{"href":"https://github.com/EstefaniaGuardado/myRefri/pull/56"},"issue":{"href":"https://api.github.com/repos/EstefaniaGuardado/myRefri/issues/56"},"comments":{"href":"https://api.github.com/repos/EstefaniaGuardado/myRefri/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EstefaniaGuardado/myRefri/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/EstefaniaGuardado/myRefri/statuses/4d44b0d9cbc4652a82492f23c5a6717aabe773b7"}},"author_association":"OWNER"}}
{"actor":{"display_login":"xlarsx"}}