Added validation error functionality
Merge pull request #22 from adaptlearning/issue/#19

Added validation error functionality