marginally improved HOF error messages