Make the error more concise for wfunc per denies

this should fix #16066
Merge pull request #16103 from thatch45/16066

Make the error more concise for wfunc per denies