fix typo: generalize error message
Merge pull request #434 from srijs/patch-1

fix typo: generalise error message