{"json_modified": "2016-03-28T08:51:02.406211", "uuid": "0024fdbc-384b-4c1e-a73b-e36805378288", "title": "reason", "url": "/en-US/docs/Web/API/PromiseRejection/reason", "tags": ["API", "Interface", "Reference", "Property", "Experimental", "PromiseRejection", "reason"], "translations": [], "modified": "2016-03-09T11:14:35", "label": "reason", "localization_tags": [], "locale": "en-US", "id": 179360, "last_edit": "2016-03-09T11:14:32", "summary": "The reason
read-only property of the PromiseRejection
returns the rejection reason for the Promise
that the current notification is about. Although the reason can be undefined
, it is generally an Error
object, like in exception handling.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Value", "title": "Value"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/PromiseRejection/reason", "review_tags": ["technical"]}