allow custom error message for failed validation
build failing fixes
Merge pull request #3 from rbmoore/custom-errors

allow custom error message for failed validation