Add better error messages for validation errors