W3cubDocs

/Bluebird

Promise.reject

Promise.reject(any error) -> Promise

Create a promise that is rejected with the given error.

© 2013–2018 Petka Antonov
Licensed under the MIT License.
http://bluebirdjs.com/docs/api/promise.reject.html