More accurate error message
Merge pull request #17208 from cachedout/clarify_missing_func

More accurate error message