[breaking] rename invalid(...)
and ValidationError
#8012
Merged
invalid(...)
and ValidationError
#8012