• function
 

Reject this promise with reason, which will be used verbatim

Promise.promiseReject(reason)

Reject this promise with reason, which will be used verbatim

Parameters

  1. reason {Error | *}

    rejection reason, strongly suggested to be an Error type

Help us improve StealJS by taking our community survey