pydantic get validation errors