reject (reason, label) Promise
static
This is a convenient alias for RSVP.Promise.reject
.
Parameters:
-
reason
*
- value that the returned promise will be rejected with.
-
label
String
- optional string for identifying the returned promise. Useful for tooling.
Returns:
-
Promise
- a promise rejected with the given `reason`.
Please login to continue.