changed validation constructor
Merge pull request #10 from my-koop/mike_custom_errors

changed validation constructor