{"json_modified": "2016-10-17T00:31:50.291648", "uuid": "1cdb61db-42df-48e6-ba88-32a8fd85092f", "title": "Promise.prototype.catch()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch", "tags": ["Promise", "ECMAScript6", "Prototype", "Method", "JavaScript"], "translations": [{"uuid": "c0dfd261-b77e-4d94-a9b6-a9a115d0591d", "title": "Promise.prototype.catch()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Promise/catch", "tags": ["R\u00e9f\u00e9rence", "Prototype", "JavaScript", "Promise", "ECMAScript6", "M\u00e9thode"], "summary": "La m\u00e9thode catch() renvoie un objet Promise
et ne traite que des cas o\u00f9 la promesse initiale est rejet\u00e9e. Elle a le m\u00eame effet qu'un appel \u00e0 Promise.prototype.then(undefined, siRejet\u00e9e)
.", "localization_tags": [], "locale": "fr", "last_edit": "2016-08-29T03:59:28", "review_tags": []}, {"uuid": "617f2a64-aed6-4c7a-8f78-cce8155f584a", "title": "Promise.prototype.catch()", "url": "/id/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch", "tags": ["Referensi", "Prototype", "Promise", "ECMAScript6", "Method"], "summary": "Method\u00a0catch()\u00a0mengembalikan\u00a0Promise
\u00a0dan hanya setuju jika kasusnya gagal. Sama halnya dengan memenggil method\u00a0Promise.prototype.then(undefined, onRejected)
.", "localization_tags": [], "locale": "id", "last_edit": "2016-06-20T15:00:50", "review_tags": []}, {"uuid": "6c80538e-ad56-4b8c-8c53-d87489263493", "title": "Promise.prototype.catch()", "url": "/it/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch", "tags": [], "summary": "Il metodo\u00a0catch()\u00a0restituisce una\u00a0Promise
\u00a0e si occusa esclusivamente nei casi respinti. Si comporta come una chiamata\u00a0Promise.prototype.then(undefined, onRejected)
.", "localization_tags": ["inprogress"], "locale": "it", "last_edit": "2015-08-12T13:46:57", "review_tags": []}, {"uuid": "4e4b2505-97e5-4962-9efb-5530a9a394ec", "title": "Promise.prototype.catch()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch", "tags": ["Prototype", "JavaScript", "Promise", "ECMAScript6", "Method"], "summary": "catch()\u30e1\u30bd\u30c3\u30c9\u306fPromise
\u3092\u8fd4\u3057\u307e\u3059\u3002\u5931\u6557\u3057\u305f\u5834\u5408\u306e\u307f\u6271\u3044\u307e\u3059\u3002Promise.prototype.then(undefined, onRejected)
\u304c\u547c\u3070\u308c\u305f\u3068\u304d\u3068\u540c\u69d8\u306b\u632f\u308b\u821e\u3044\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-04-26T11:48:48", "review_tags": ["editorial"]}, {"uuid": "fa24ef76-becd-4edd-8311-cda4aca53982", "title": "Promise.prototype.catch()", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch", "tags": ["Prototype", "JavaScript", "Promise", "ECMAScript6", "Method"], "summary": "catch() \uba54\uc11c\ub4dc\ub294 Promise
\ubc18\ud658\ud558\uc5ec \uac70\ubd80\ub41c \uacbd\uc6b0\ub9cc \ub2e4\ub8f9\ub2c8\ub2e4. Promise.prototype.then(undefined, onRejected)
\ub97c \ud638\ucd9c\ud558\ub294 \uac83\uacfc \ub3d9\uc77c\ud558\uac8c \ud589\ub3d9\ud569\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-06-23T16:47:41", "review_tags": []}, {"uuid": "2730b708-47e6-44d8-b237-29dcc0f951ab", "title": "Promise.prototype.catch()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch", "tags": [], "summary": "O m\u00e9todo catch
pode ser \u00fatil para manipula\u00e7\u00e3o de erros na composi\u00e7\u00e3o da sua promise.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2016-05-12T12:37:38", "review_tags": []}, {"uuid": "28393d4f-c890-4ced-bcfe-22b490b70692", "title": "Promise.prototype.catch()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch", "tags": ["\u041e\u0431\u0435\u0449\u0430\u043d\u0438\u0435", "\u043c\u0435\u0442\u043e\u0434", "Prototype", "\u041c\u0435\u0442\u043e\u0434", "JavaScript", "ECMAScript6"], "summary": "\u041c\u0435\u0442\u043e\u0434\u00a0catch()\u00a0\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043e\u0431\u0435\u0449\u0430\u043d\u0438\u0435 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u044f\u00a0\u043e\u0431\u0435\u0449\u0430\u043d\u0438\u044f. \u0412\u0435\u0434\u0435\u0442 \u0441\u0435\u0431\u044f \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0432\u044b\u0437\u043e\u0432\u0443 Promise.prototype.then(undefined, onRejected)
.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2016-10-17T00:31:43", "review_tags": []}, {"uuid": "9aa299a2-d5d4-4ceb-bc95-cf1e3c7cd55a", "title": "Promise.prototype.catch()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch", "tags": [], "summary": "catch()\u00a0\u65b9\u6cd5\u53ea\u5904\u7406Promise\u88ab\u62d2\u7edd\u7684\u60c5\u51b5\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2aPromise\u3002\u8be5\u65b9\u6cd5\u7684\u884c\u4e3a\u548c\u8c03\u7528
Promise.prototype.then(undefined, onRejected)
\u76f8\u540c\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-04-04T09:13:30", "review_tags": []}], "modified": "2016-08-28T20:52:02", "label": "Promise.prototype.catch()", "localization_tags": [], "locale": "en-US", "id": 127501, "last_edit": "2016-08-28T20:51:56", "summary": "The catch() method returns a Promise
and deals with rejected cases only. It behaves the same as calling Promise.prototype.then(undefined, onRejected)
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_the_catch_method", "title": "Using the "}, {"id": "Gotchas_when_throwing_errors", "title": "Gotchas when throwing errors"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Promise/catch", "review_tags": []}