yes i think you can 
https://github.com/cujojs/when/blob/master/docs/api.md#whenreject

> Create a rejected promise with the supplied error as the rejection reason.