Use ValidationError rather than ParseError

Seems closer to the reason for why we reject the input.