Promise.reject(any error) -> Promise
Create a promise that is rejected with the given error.
error
© 2013–2018 Petka AntonovLicensed under the MIT License. http://bluebirdjs.com/docs/api/promise.reject.html