Fixed typo in error thrown
Merge pull request #265 from alexanderdickson/patch-1

Fixed typo in error thrown