https://github.com/cujojs/when/blob/master/docs/api.md#catch