, message, exception or an object representing the rejection reason.</p>

        
      </td>
    </tr>
    
  </tbody>
</table>

    

    
    
    
    <h4>Returns</h4>
    <table class="variables-matrix return-arguments">
  <tr>
    <td><a href="" class="label type-hint type-hint-promise">Promise</a></td>
    <td><p>Returns a promise that was already resolved as rejected with the <code>reason</code>.</p>
</td>
  </tr>
</table>
    

  </li>
  
  <li id="when">
    <h3><p><code>when(value);</code></p>

