Should assign ``promise`` to a rejected promise.