Refactored instance method Promise.rejected to Promise.whenRejected to be more consistent and not to be confused with the static method with the same name