Fixed undefined error messages
Merge pull request #12 from DerekRoth/error-messages

Fixed undefined error messages