#6615 - Added more clearer error message

My first pull request, made the error message more clearer to close #6615.