Translated input parse errors to validation errors.
A workaround for #36