the validator should return an error that can be passed through HTTP to seneca-web