added validation error functionality
Merge pull request #35 from adaptlearning/issue/#34

added validation error functionality