On Thu, Oct 9, 2014 at 4:57 PM, John Lenz <[email protected]> wrote: > or a simple utility method >
Promise.reject could be used. ```js asyncFunc() .then(count => count >= 0 ? count : Promise.reject(new Error(...))) .then(...) .catch(...) ``` Nathan _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

