{"action":"closed","issue":{"url":"https://api.github.com/repos/agilecommunity/oot/issues/152","labels_url":"https://api.github.com/repos/agilecommunity/oot/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/agilecommunity/oot/issues/152/comments","events_url":"https://api.github.com/repos/agilecommunity/oot/issues/152/events","html_url":"https://github.com/agilecommunity/oot/issues/152","id":59323619,"number":152,"title":"サーバ側でエラーが発生した場合に、エラーメッセージを表示してほしい","user":{"login":"nobiinu-and","id":920978,"avatar_url":"https://avatars.githubusercontent.com/u/920978?v=3","gravatar_id":"","url":"https://api.github.com/users/nobiinu-and","html_url":"https://github.com/nobiinu-and","followers_url":"https://api.github.com/users/nobiinu-and/followers","following_url":"https://api.github.com/users/nobiinu-and/following{/other_user}","gists_url":"https://api.github.com/users/nobiinu-and/gists{/gist_id}","starred_url":"https://api.github.com/users/nobiinu-and/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nobiinu-and/subscriptions","organizations_url":"https://api.github.com/users/nobiinu-and/orgs","repos_url":"https://api.github.com/users/nobiinu-and/repos","events_url":"https://api.github.com/users/nobiinu-and/events{/privacy}","received_events_url":"https://api.github.com/users/nobiinu-and/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/agilecommunity/oot/milestones/4","html_url":"https://github.com/agilecommunity/oot/milestones/%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%200.1","labels_url":"https://api.github.com/repos/agilecommunity/oot/milestones/4/labels","id":954819,"number":4,"title":"バージョン 0.1","description":"以下を優先的に実装する。\r\n\r\n * 注文できること\r\n * 注文を一つでも多く獲得するための見栄え","creator":{"login":"nobiinu-and","id":920978,"avatar_url":"https://avatars.githubusercontent.com/u/920978?v=3","gravatar_id":"","url":"https://api.github.com/users/nobiinu-and","html_url":"https://github.com/nobiinu-and","followers_url":"https://api.github.com/users/nobiinu-and/followers","following_url":"https://api.github.com/users/nobiinu-and/following{/other_user}","gists_url":"https://api.github.com/users/nobiinu-and/gists{/gist_id}","starred_url":"https://api.github.com/users/nobiinu-and/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nobiinu-and/subscriptions","organizations_url":"https://api.github.com/users/nobiinu-and/orgs","repos_url":"https://api.github.com/users/nobiinu-and/repos","events_url":"https://api.github.com/users/nobiinu-and/events{/privacy}","received_events_url":"https://api.github.com/users/nobiinu-and/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":27,"state":"open","created_at":"2015-01-28T13:07:06Z","updated_at":"2015-03-01T15:13:27Z","due_on":"2015-03-01T15:00:00Z","closed_at":null},"comments":4,"created_at":"2015-02-28T03:48:11Z","updated_at":"2015-03-01T15:13:27Z","closed_at":"2015-03-01T15:13:27Z","body":"メニュー作成、注文でたまに困る。\n\n * ダイアログ(BootUI)で表示する\n * エラーが発生した後、ページの遷移はしない(ログイン画面に移動するなど)\n * ステータスコードとエラー内容(あれば)を表示する\n\n### エラーメッセージについて\n\n認証時のエラー: 401 Unauthorized\n  message: \"Must specify authentication token\"\n\n各項目のエラー: 422 - Unprocessable Entity\n  message: \"Validation Failed\"\n  errors: (エラーの項目の一覧)\n\nJSONがパースできない: 400 - Bad Request\n  message: (理由)\n\nサーバの内部エラー:  500 - Internal Server Error\n  message: (理由)"}}