Promise rejections don't resolve the argument

raul mihaila raul.mihaila at
Sun Dec 28 13:42:45 PST 2014

Maybe it would make sense only when you know that the operation fails but
you don't know the whole exact reason. Like if (something went weird but
not sure what) throw getSomeSpecificErrorFromSomewhere(). But indeed it
seems improbable that you will ever need that, and it still could be
written using a derived promise that throws. Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list