Raise the generated error

document validation was throwing empty validation errors with just the field name.

The error message is made, but never thrown.