ed</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td><code>onRejected</code></td>
<td><code>any -> (any&#124;Promise)</code></td>
<td>No</td>
<td>A function that is called when the promise is rejected. The first parameter of this function is a value that represents the reason why the promise was rejected. If the return value of this function is not a Promise, it is used as the value for resolving <code>nextPromise</code>. If the returned value is a Promise, then value of <code>nextPromise</code> depe