validate: promote invalid values to an error
Merge pull request #269 from crawford/valid

validate: promote invalid values to an error