{"blog_title":"falsandtru\u306e\u30e1\u30e2\u5e33","categories":["TypeScript"],"published":"2017-01-28 00:00:00","provider_url":"https://hatena.blog","url":"https://falsandtru.hatenablog.com/entry/promise-failure-context","blog_url":"https://falsandtru.hatenablog.com/","width":"100%","title":"Promise\u306e\u5931\u6557\u6587\u8108\u3092\u4f7f\u3063\u3066\u306f\u306a\u3089\u306a\u3044\u7406\u7531\u3068\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u3067\u306f\u4f7f\u3063\u3066\u3044\u3044\u7406\u7531","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffalsandtru.hatenablog.com%2Fentry%2Fpromise-failure-context\" title=\"Promise\u306e\u5931\u6557\u6587\u8108\u3092\u4f7f\u3063\u3066\u306f\u306a\u3089\u306a\u3044\u7406\u7531\u3068\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u3067\u306f\u4f7f\u3063\u3066\u3044\u3044\u7406\u7531 - falsandtru\u306e\u30e1\u30e2\u5e33\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","version":"1.0","author_name":"falsandtru","height":"190","author_url":"https://blog.hatena.ne.jp/falsandtru/","type":"rich","image_url":null,"description":"Promise\u306ethen\u30e1\u30bd\u30c3\u30c9\u306e\u7b2c\u4e8c\u5f15\u6570\u304a\u3088\u3073catch\u30e1\u30bd\u30c3\u30c9\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306e\u547c\u3073\u51fa\u3057\u3067\u8868\u73fe\u3055\u308c\u308b\u5931\u6557\u6587\u8108\u3001\u3053\u308c\u306f\u539f\u5247\u3068\u3057\u3066\u4f7f\u3063\u3066\u306f\u306a\u3089\u306a\u3044\u3002 \u30cd\u30a4\u30c6\u30a3\u30d6\u306e\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u304c\u4f7f\u3063\u3066\u3044\u308b\u304b\u3089\u3068\u3044\u3063\u3066\u771f\u4f3c\u3057\u3066Promise\u5024\u3092\u8fd4\u3057\u5931\u6557\u6587\u8108\u3092\u6301\u3064\u95a2\u6570\u3092\u4f5c\u3063\u3066\u306f\u306a\u3089\u306a\u3044\u3002 Promise\u306e\u5931\u6557\u6587\u8108\u306b\u306f\u4efb\u610f\u306e\u56de\u5fa9\u53ef\u80fd\u307e\u305f\u306f\u4e88\u6e2c\u3055\u308c\u305f\u5931\u6557\u3068\u4e88\u671f\u305b\u306c\u4f8b\u5916\u3092\u533a\u5225\u3067\u304d\u306a\u3044(\u4f8b\u5916\u3092\u5f37\u5236\u7684\u306b\u5931\u6557\u306b\u623b\u3059)\u6b20\u9665\u304c\u3042\u308b\u3002 \u3053\u306e\u305f\u3081Promise\u306e\u5931\u6557\u6587\u8108\u306e\u578b\u3092\u5b9a\u7fa9\u3057\u3088\u3046\u3068\u3044\u3046\u8a66\u307f\u306f\u57fa\u672c\u7684\u306b\u7121\u610f\u5473\u3060\u3002 \u4eee\u306b\u5931\u6557\u6587\u8108\u306b\u6df7\u5165\u3057\u305f\u4f8b\u5916\u3092\u9664\u53bb\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002 Promise.resolve() .catch(rea\u2026"}