move ValidationError to exceptions.py