Check the validation error from Core Data