Fixed typo when throwing error
Merge pull request #413 from Froelund/master

Fixed typo when throwing error