Remove function names from error messages. Finish #5031
Merge pull request #5167 from magistere/error-msg-clean

Remove function names from error messages. Finish #5031