python pydantic catch validation error