{"action":"created","issue":{"url":"https://api.github.com/repos/s-hayashi1104/tpa-03-shiritori/issues/1","repository_url":"https://api.github.com/repos/s-hayashi1104/tpa-03-shiritori","labels_url":"https://api.github.com/repos/s-hayashi1104/tpa-03-shiritori/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/s-hayashi1104/tpa-03-shiritori/issues/1/comments","events_url":"https://api.github.com/repos/s-hayashi1104/tpa-03-shiritori/issues/1/events","html_url":"https://github.com/s-hayashi1104/tpa-03-shiritori/pull/1","id":368730640,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxODQwNzE2","number":1,"title":"When playerName exist that return success true","user":{"login":"s-hayashi1104","id":28523391,"node_id":"MDQ6VXNlcjI4NTIzMzkx","avatar_url":"https://avatars2.githubusercontent.com/u/28523391?v=4","gravatar_id":"","url":"https://api.github.com/users/s-hayashi1104","html_url":"https://github.com/s-hayashi1104","followers_url":"https://api.github.com/users/s-hayashi1104/followers","following_url":"https://api.github.com/users/s-hayashi1104/following{/other_user}","gists_url":"https://api.github.com/users/s-hayashi1104/gists{/gist_id}","starred_url":"https://api.github.com/users/s-hayashi1104/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-hayashi1104/subscriptions","organizations_url":"https://api.github.com/users/s-hayashi1104/orgs","repos_url":"https://api.github.com/users/s-hayashi1104/repos","events_url":"https://api.github.com/users/s-hayashi1104/events{/privacy}","received_events_url":"https://api.github.com/users/s-hayashi1104/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-10T15:43:57Z","updated_at":"2018-10-12T11:39:52Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/s-hayashi1104/tpa-03-shiritori/pulls/1","html_url":"https://github.com/s-hayashi1104/tpa-03-shiritori/pull/1","diff_url":"https://github.com/s-hayashi1104/tpa-03-shiritori/pull/1.diff","patch_url":"https://github.com/s-hayashi1104/tpa-03-shiritori/pull/1.patch"},"body":"implemented server side"},"comment":{"url":"https://api.github.com/repos/s-hayashi1104/tpa-03-shiritori/issues/comments/429297300","html_url":"https://github.com/s-hayashi1104/tpa-03-shiritori/pull/1#issuecomment-429297300","issue_url":"https://api.github.com/repos/s-hayashi1104/tpa-03-shiritori/issues/1","id":429297300,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTI5NzMwMA==","user":{"login":"Mitsuru53","id":23156390,"node_id":"MDQ6VXNlcjIzMTU2Mzkw","avatar_url":"https://avatars1.githubusercontent.com/u/23156390?v=4","gravatar_id":"","url":"https://api.github.com/users/Mitsuru53","html_url":"https://github.com/Mitsuru53","followers_url":"https://api.github.com/users/Mitsuru53/followers","following_url":"https://api.github.com/users/Mitsuru53/following{/other_user}","gists_url":"https://api.github.com/users/Mitsuru53/gists{/gist_id}","starred_url":"https://api.github.com/users/Mitsuru53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mitsuru53/subscriptions","organizations_url":"https://api.github.com/users/Mitsuru53/orgs","repos_url":"https://api.github.com/users/Mitsuru53/repos","events_url":"https://api.github.com/users/Mitsuru53/events{/privacy}","received_events_url":"https://api.github.com/users/Mitsuru53/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T11:39:52Z","updated_at":"2018-10-12T11:39:52Z","author_association":"NONE","body":"api-server側で例外を投げます\r\n```\r\n.catch(error => {\r\n  console.log('server error', error)\r\n  throw new Error(\"something wrong...\")\r\n});\r\n```\r\n\r\nすると自然と、フロント側のcatchブロックに入ってくれます\r\n```\r\n        .catch(error => {\r\n          console.error('error front', error.message)\r\n          this.message = '';\r\n          this.lost = false;\r\n          this.inputWord = '';\r\n          this.playedWords = [];\r\n          this.score = 0;\r\n          this.startGame();\r\n        });\r\n```"}}
{"actor":{"display_login":"Mitsuru53"}}