Assessing model error in counterfactual worlds