chore: refactor ValidationError