pass an Error to reject(), and reject in the unknown case too