This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29331 - Provide text guidance for rejecting promises
Summary: Provide text guidance for rejecting promises
Status: NEW
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
Depends on:
Reported: 2015-12-10 21:30 UTC by David Dorwin
Modified: 2015-12-10 21:30 UTC (History)
3 users (show)

See Also:


Description David Dorwin 2015-12-10 21:30:33 UTC provides guidance/examples on creating and throwing exceptions, including shorthand like "Throw an IndexSizeError." It should include similar guidance/examples for rejecting promises.

In addition, `reject` should be defined and linkable like `throw`.

This was originally discussed in See also the reply from Domenic.

This may be related to bug 21740, though that seems outdated.