more informative error message for resids(type="partial")

(was using .NotYetImplemented(), which only refers to the calling function)