[CHEF-3863] improve error compat with old impl.